From f9d0b84a2c745fb1e45a6d3387a8e2f05dd07360 Mon Sep 17 00:00:00 2001 From: friedrich goerz Date: Fri, 22 Apr 2022 15:05:09 +0200 Subject: [PATCH] DEV-386: changing port --- resources/es-query-exporter-deployment.yaml | 4 ++-- resources/es-query-exporter-service.yaml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/es-query-exporter-deployment.yaml b/resources/es-query-exporter-deployment.yaml index 2b53cac..1122ae2 100644 --- a/resources/es-query-exporter-deployment.yaml +++ b/resources/es-query-exporter-deployment.yaml @@ -5,7 +5,7 @@ metadata: annotations: prometheus.io/scrape: "true" prometheus.io/path: /metrics - prometheus.io/port: "5050" + prometheus.io/port: "80" spec: replicas: 1 revisionHistoryLimit: 3 @@ -31,7 +31,7 @@ spec: - image: bitshift/elastic-query-exporter:v1.0.0-preview.4 name: es-query-exporter ports: - - containerPort: 5050 + - containerPort: 80 env: - name: ASPNETCORE_ENVIRONMENT value: Release diff --git a/resources/es-query-exporter-service.yaml b/resources/es-query-exporter-service.yaml index a7c566c..b41bdd3 100644 --- a/resources/es-query-exporter-service.yaml +++ b/resources/es-query-exporter-service.yaml @@ -4,7 +4,8 @@ metadata: name: es-query-exporter spec: ports: - - port: 5050 - targetPort: 5050 + - port: 80 + targetPort: 80 + name: http selector: app: es-query-exporter