Closed LoveEachDay closed 1 year ago
By default, etcd pod has readinessProbe
and livenessProbe
which are all exec
probe. Kubelet will try to fork a process to execute the healthcheck.sh
. And in the healthcheck.sh
, it will invoke etcdctl endpoint health
which has default timeout to 5s. And our probe timeout is 5s default, so if the etcdctl
commands needs more time, the healthcheck.sh
process is killed, leaving the zoobie etcdctl
process.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Bennu-Li, locustbaby, LoveEachDay
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/lgtm /approved
What this PR does / why we need it:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[mychartname]
)