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 62
62
command :
63
63
- sh
64
64
- -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
66
66
name : kube-state-metrics
67
67
ports :
68
68
- containerPort : 8081
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ function(params)
278
278
name: 'self' ,
279
279
},
280
280
],
281
- local livenessProbePath = 'healthz' ,
281
+ local livenessProbePath = 'livez' , // https://github.com/kubernetes/kube-state-metrics/pull/2418
282
282
local readinessProbePath = '' ,
283
283
livenessProbe::: {
284
284
exec: {
You can’t perform that action at this time.
0 commit comments