From 850045c814195ebb248e5df3c3d0f912e1ced7ee Mon Sep 17 00:00:00 2001 From: Jesse Stuart Date: Sun, 11 Mar 2018 06:44:01 -0400 Subject: [PATCH] [service-monitor] Update armexporter w/ label to be picked up by ServiceMonitor. --- .../armexporter/node-exporter-service.yaml | 17 ----------------- manifests/armexporter/service.yaml | 4 ++++ 2 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 manifests/armexporter/node-exporter-service.yaml diff --git a/manifests/armexporter/node-exporter-service.yaml b/manifests/armexporter/node-exporter-service.yaml deleted file mode 100644 index f9bfc58..0000000 --- a/manifests/armexporter/node-exporter-service.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app: node-exporter - k8s-app: node-exporter - name: node-exporter -spec: - type: ClusterIP - clusterIP: None - ports: - - name: http - port: 9100 - protocol: TCP - selector: - app: node-exporter - diff --git a/manifests/armexporter/service.yaml b/manifests/armexporter/service.yaml index af8986b..ca5d4d0 100644 --- a/manifests/armexporter/service.yaml +++ b/manifests/armexporter/service.yaml @@ -1,10 +1,14 @@ apiVersion: v1 kind: Service metadata: + namespace: monitoring labels: + app: arm-exporter k8s-app: arm-exporter name: arm-exporter spec: + type: ClusterIP + clusterIP: None ports: - name: http port: 9243