fix prom
This commit is contained in:
@@ -147,9 +147,9 @@ local manifests =
|
|||||||
spec: {
|
spec: {
|
||||||
jobLabel: 'prometheus',
|
jobLabel: 'prometheus',
|
||||||
selector: {
|
selector: {
|
||||||
// Ensure this matches the labels on your Prometheus service.
|
// Updated to match the labels on your Prometheus service.
|
||||||
matchLabels: {
|
matchLabels: {
|
||||||
prometheus: 'prometheus-k8s',
|
"app.kubernetes.io/name": "prometheus",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
endpoints: [{
|
endpoints: [{
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ spec:
|
|||||||
jobLabel: prometheus
|
jobLabel: prometheus
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
prometheus: prometheus-k8s
|
app.kubernetes.io/name: prometheus
|
||||||
|
|||||||
Reference in New Issue
Block a user