update prometheus

This commit is contained in:
2025-03-30 19:31:46 +02:00
parent a3d3dd8336
commit 1e7ef34b5c
2 changed files with 0 additions and 3 deletions

View File

@@ -24,8 +24,6 @@ local kp = (import 'kube-prometheus/main.libsonnet') + {
}, },
}, },
}, },
// Enable self-scraping so Prometheus will automatically scrape its own /metrics endpoint
selfScrape: true,
// Set a ServiceMonitor selector that matches the Prometheus service's labels // Set a ServiceMonitor selector that matches the Prometheus service's labels
serviceMonitorSelector: { serviceMonitorSelector: {
matchLabels: { matchLabels: {

View File

@@ -46,7 +46,6 @@ spec:
fsGroup: 2000 fsGroup: 2000
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
selfScrape: true
serviceAccountName: prometheus-k8s serviceAccountName: prometheus-k8s
serviceMonitorNamespaceSelector: {} serviceMonitorNamespaceSelector: {}
serviceMonitorSelector: serviceMonitorSelector: