From 1850295742844ae3b7b8681fd2f9b35144e02376 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sun, 13 Jun 2021 19:42:45 +0100 Subject: [PATCH] Moved service to inlets namespace --- manifests/inlets/inlets.yaml | 15 +++++++++++++++ manifests/loki_chart/loki_chart.yaml | 17 +---------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/manifests/inlets/inlets.yaml b/manifests/inlets/inlets.yaml index aeb10c8..be144c0 100644 --- a/manifests/inlets/inlets.yaml +++ b/manifests/inlets/inlets.yaml @@ -197,3 +197,18 @@ spec: backend: serviceName: inlets servicePort: 80 + +--- +kind: Service +apiVersion: v1 +metadata: + name: prometheus-local + namespace: inlets +spec: + type: ClusterIP + ports: + - port: 80 + protocol: TCP + targetPort: 8000 + selector: + app: inlets diff --git a/manifests/loki_chart/loki_chart.yaml b/manifests/loki_chart/loki_chart.yaml index 017ddfc..e8fd7c7 100644 --- a/manifests/loki_chart/loki_chart.yaml +++ b/manifests/loki_chart/loki_chart.yaml @@ -65,7 +65,7 @@ spec: maxLines: 1000 - name: Prometheus-local type: prometheus - url: http://prometheus-local.logging:80 + url: http://prometheus-local.inlets:80 access: proxy grafana.ini: analytics: @@ -203,18 +203,3 @@ spec: number: 80 path: / pathType: ImplementationSpecific - ---- -kind: Service -apiVersion: v1 -metadata: - name: prometheus-local - namespace: logging -spec: - type: ClusterIP - ports: - - port: 80 - protocol: TCP - targetPort: 8000 - selector: - app: inlets