Merge pull request #436 from lilic/remove-checks-ksm

jsonnet/kube-prometheus/kube-state-metrics: Remove probes
This commit is contained in:
Frederic Branczyk 2020-03-04 11:22:46 +01:00 committed by GitHub
commit 9323c4c98f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 14 deletions

View File

@ -33,7 +33,9 @@
template+: {
spec+: {
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'],
}, super.containers),
},

View File

@ -24,20 +24,7 @@ spec:
- --telemetry-host=127.0.0.1
- --telemetry-port=8082
image: quay.io/coreos/kube-state-metrics:v1.9.5
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 5
name: kube-state-metrics
ports: null
readinessProbe:
httpGet:
path: /
port: 8081
initialDelaySeconds: 5
timeoutSeconds: 5
securityContext:
runAsUser: 65534
- args: