[service-monitor] Update armexporter w/ label to be picked up by ServiceMonitor.

This commit is contained in:
Jesse Stuart 2018-03-11 06:44:01 -04:00
parent fcb30aea73
commit 850045c814
No known key found for this signature in database
GPG Key ID: AB409E7ED316A477
2 changed files with 4 additions and 17 deletions

View File

@ -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

View File

@ -1,10 +1,14 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
namespace: monitoring
labels: labels:
app: arm-exporter
k8s-app: arm-exporter k8s-app: arm-exporter
name: arm-exporter name: arm-exporter
spec: spec:
type: ClusterIP
clusterIP: None
ports: ports:
- name: http - name: http
port: 9243 port: 9243