diff --git a/deploy/prometheus/deploy.jsonnet b/deploy/prometheus/deploy.jsonnet index 4ed8079..c281c94 100644 --- a/deploy/prometheus/deploy.jsonnet +++ b/deploy/prometheus/deploy.jsonnet @@ -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 serviceMonitorSelector: { matchLabels: { diff --git a/deploy/prometheus/manifests/prometheus-prometheus.yaml b/deploy/prometheus/manifests/prometheus-prometheus.yaml index 3575f03..919819b 100644 --- a/deploy/prometheus/manifests/prometheus-prometheus.yaml +++ b/deploy/prometheus/manifests/prometheus-prometheus.yaml @@ -46,7 +46,6 @@ spec: fsGroup: 2000 runAsNonRoot: true runAsUser: 1000 - selfScrape: true serviceAccountName: prometheus-k8s serviceMonitorNamespaceSelector: {} serviceMonitorSelector: