pravega / zookeeper-operator

Kubernetes Operator for Zookeeper
Apache License 2.0
368 stars 206 forks source link

Initial pod is forcefully restarted during initialization #491

Open amuraru opened 2 years ago

amuraru commented 2 years ago

Description

During initial provisioning of a ZookeeperCluster we observed that the first pod zk-0 is forcefully restarted in the initialization phase due to its liveness probe failing.

Importance

Sould-have

Location

https://github.com/pravega/zookeeper-operator/commit/ed1f1d154de63cb38de25506a4d3dffbfe42eba9

Suggestions for an improvement

DefaultLivenessProbeInitialDelaySeconds should be increased to 40 to account for maximum time it takes for the first pod to complete the initialization.