update prometheus
This commit is contained in:
@@ -24,9 +24,8 @@ local kp = (import 'kube-prometheus/main.libsonnet') + {
|
||||
},
|
||||
},
|
||||
},
|
||||
// You may try enabling selfMonitor here if you want the built-in option,
|
||||
// but as noted it doesn't work reliably:
|
||||
// selfMonitor: { enabled: true },
|
||||
// selfMonitor option left commented out as it isn't working reliably
|
||||
selfMonitor: { enabled: true },
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -148,8 +147,7 @@ local manifests =
|
||||
spec: {
|
||||
jobLabel: 'prometheus',
|
||||
selector: {
|
||||
// This selector must match the labels on the Prometheus service.
|
||||
// Adjust as necessary if your service uses a different label.
|
||||
// Ensure this matches the labels on your Prometheus service.
|
||||
matchLabels: {
|
||||
prometheus: 'prometheus-k8s',
|
||||
},
|
||||
@@ -157,10 +155,7 @@ local manifests =
|
||||
endpoints: [{
|
||||
port: 'web',
|
||||
interval: '30s',
|
||||
scheme: 'https',
|
||||
tlsConfig: {
|
||||
insecureSkipVerify: true,
|
||||
},
|
||||
scheme: 'http'
|
||||
}],
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user