mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-01 16:41:02 +01:00
Merge pull request #436 from lilic/remove-checks-ksm
jsonnet/kube-prometheus/kube-state-metrics: Remove probes
This commit is contained in:
commit
9323c4c98f
@ -33,7 +33,9 @@
|
|||||||
template+: {
|
template+: {
|
||||||
spec+: {
|
spec+: {
|
||||||
containers: std.map(function(c) c {
|
containers: std.map(function(c) c {
|
||||||
ports: null,
|
ports:: null,
|
||||||
|
livenessProbe:: null,
|
||||||
|
readinessProbe:: null,
|
||||||
args: ['--host=127.0.0.1', '--port=8081', '--telemetry-host=127.0.0.1', '--telemetry-port=8082'],
|
args: ['--host=127.0.0.1', '--port=8081', '--telemetry-host=127.0.0.1', '--telemetry-port=8082'],
|
||||||
}, super.containers),
|
}, super.containers),
|
||||||
},
|
},
|
||||||
|
|||||||
@ -24,20 +24,7 @@ spec:
|
|||||||
- --telemetry-host=127.0.0.1
|
- --telemetry-host=127.0.0.1
|
||||||
- --telemetry-port=8082
|
- --telemetry-port=8082
|
||||||
image: quay.io/coreos/kube-state-metrics:v1.9.5
|
image: quay.io/coreos/kube-state-metrics:v1.9.5
|
||||||
livenessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /healthz
|
|
||||||
port: 8080
|
|
||||||
initialDelaySeconds: 5
|
|
||||||
timeoutSeconds: 5
|
|
||||||
name: kube-state-metrics
|
name: kube-state-metrics
|
||||||
ports: null
|
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: 8081
|
|
||||||
initialDelaySeconds: 5
|
|
||||||
timeoutSeconds: 5
|
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 65534
|
runAsUser: 65534
|
||||||
- args:
|
- args:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user