Split and adjust node exporter manifests

This commit is contained in:
Fabian Reinartz
2016-10-19 13:29:18 +02:00
parent a0b1a93799
commit 9e9e0e3cb2
2 changed files with 35 additions and 19 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: node-exporter
annotations:
prometheus.io/scrape: 'true'
name: node-exporter
spec:
type: ClusterIP
clusterIP: None
ports:
- name: metrics
port: 9100
protocol: TCP
selector:
app: node-exporter