fix(selector): Update labels
This commit is contained in:
parent
1f743693c5
commit
11eefe9cdb
@ -6,12 +6,15 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
prometheus.io/scrape: 'true'
|
prometheus.io/scrape: 'true'
|
||||||
prometheus.io/port: '9100'
|
prometheus.io/port: '9100'
|
||||||
spec:
|
labels:
|
||||||
selector:
|
|
||||||
app.kubernetes.io/component: exporter
|
app.kubernetes.io/component: exporter
|
||||||
app.kubernetes.io/name: node-exporter
|
app.kubernetes.io/name: node-exporter
|
||||||
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: node-exporter
|
- name: node-exporter
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 9100
|
port: 9100
|
||||||
targetPort: 9100
|
targetPort: 9100
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/component: exporter
|
||||||
|
app.kubernetes.io/name: node-exporter
|
||||||
|
@ -6,6 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
app.kubernetes.io/component: exporter
|
||||||
app.kubernetes.io/name: node-exporter
|
app.kubernetes.io/name: node-exporter
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: node-exporter
|
- port: node-exporter
|
||||||
|
Loading…
Reference in New Issue
Block a user