This commit is contained in:
2025-03-30 20:51:37 +02:00
parent 58ea7c4eb6
commit 983c4cf90a
2 changed files with 3 additions and 3 deletions

View File

@@ -147,9 +147,9 @@ local manifests =
spec: {
jobLabel: 'prometheus',
selector: {
// Ensure this matches the labels on your Prometheus service.
// Updated to match the labels on your Prometheus service.
matchLabels: {
prometheus: 'prometheus-k8s',
"app.kubernetes.io/name": "prometheus",
},
},
endpoints: [{

View File

@@ -13,4 +13,4 @@ spec:
jobLabel: prometheus
selector:
matchLabels:
prometheus: prometheus-k8s
app.kubernetes.io/name: prometheus