aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/monitoring/node_exporter/service.yaml
blob: b6be8d50c3a0be79fc2b8c45f065125fd02673e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apiVersion: v1
kind: Service
metadata:
  name: node-exporter
  namespace: monitoring
  annotations:
    prometheus.io/scrape: 'true'
spec:
  type: ClusterIP
  clusterIP: None
  selector:
    name: node-exporter
    phase: prod
  ports:
    - name: metrics
      protocol: TCP
      port: 80
      targetPort: 9100