<p>I put elasticsearch in the kubernetes cluster as statefulset.
When I using rollingUpdate to updte the statefulset.
I got a problem, k8s restart the elasticsearch node and think it's ready, and then move on to next node, however, the node is not ready in elasticsearch cluster. The es cluster sitll yellow even red.</p>

<p>So is there any options such like time interval when rollingUpdate ??</p>

<p>Or is there some configuration of minimal time of probing pod ready ??</p>

<p>Now I use onDelete strategy to update the es, manually.</p>

<p>the best thing you can do is to implement a readinessProbe <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes</a>. As long as it returns not ready the Pod will be in not ready state and next pod will not be rolled.</p>
