-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[elasticsearch] Revisit readinessProbe #553
Comments
Helm Chart readiness probe We are using a script which run helm-charts/elasticsearch/templates/statefulset.yaml Lines 215 to 227 in a0e8d77
Note that informations for these checks are retrieved from masters as The desired behaviour here is that if the data nodes are unable to talk to their master nodes for whatever reason, then the data nodes will become ECK readiness probe ECK is using a different approach which check The intention is to check only the single node independently from overall cluster health/cluster membership to know whether it is principally ready to enter into operation (elastic/cloud-on-k8s#2248 (comment)) to avoid issue during rolling upgrade where all nodes loose their ready state and are deleted while master nodes are rolled (more detail in (elastic/cloud-on-k8s#1748 (comment)). Note that from what I know a failed readiness probe should only remove the pod from service so no traffic is sent to it untill readiness probe is successfull again, it shouldn't kill the pod (unless ECK operator force killing pods not ready). |
Closed by #586 |
readinessProbe
- see Elasticsearch readiness probe might fail if a single node is stuck cloud-on-k8s#2248 for what ECK does and why. The TL;DR version is just to call/
, but note that there are some subtleties with HTTP response codes and the ES version.Originally posted by @pugnascotia in elastic/elasticsearch#53426 (comment)
The text was updated successfully, but these errors were encountered: