File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
assets/kube-state-metrics Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 6262 command :
6363 - sh
6464 - -c
65- - if [ -x "$(command -v curl)" ]; then exec curl -s -I -f http://localhost:8081/healthz ; elif [ -x "$(command -v wget)" ]; then exec wget --quiet --tries=1 --spider http://localhost:8081/healthz ; else exit 1; fi
65+ - if [ -x "$(command -v curl)" ]; then exec curl -s -I -f http://localhost:8081/livez ; elif [ -x "$(command -v wget)" ]; then exec wget --quiet --tries=1 --spider http://localhost:8081/livez ; else exit 1; fi
6666 name : kube-state-metrics
6767 ports :
6868 - containerPort : 8081
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ function(params)
278278 name: 'self' ,
279279 },
280280 ],
281- local livenessProbePath = 'healthz' ,
281+ local livenessProbePath = 'livez' , # https://github.com/kubernetes/kube-state-metrics/pull/2418
282282 local readinessProbePath = '' ,
283283 livenessProbe::: {
284284 exec: {
You can’t perform that action at this time.
0 commit comments