21 lines
447 B
YAML
21 lines
447 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: node-exporter
|
|
namespace: monitoring
|
|
annotations:
|
|
prometheus.io/scrape: 'true'
|
|
prometheus.io/port: '9100'
|
|
labels:
|
|
app.kubernetes.io/component: exporter
|
|
app.kubernetes.io/name: node-exporter
|
|
spec:
|
|
ports:
|
|
- name: node-exporter
|
|
protocol: TCP
|
|
port: 9100
|
|
targetPort: 9100
|
|
selector:
|
|
app.kubernetes.io/component: exporter
|
|
app.kubernetes.io/name: node-exporter
|