You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HttpGetCommandProcessor (assuming this is the one that handles /hazelcast/health/node-state) will return HTTP 503 if and only if NodeState=SHUT_DOWN.
I have a few questions about this:
When liveness probe gets HTTP 503, it will then attempt to kill and restart the container in the Pod. Why do we want to restart the container when the NodeState=SHUT_DOWN?
Up until https://github.com/hazelcast/hazelcast-docker/tree/v3.10/hazelcast-kubernetes, there is a readiness.sh that will only mark the Pod as ready, if and only if ClusterSafe=TRUE. Seeing how readiness.sh has been removed & none of the samples are using /hazelcast/health/cluster-safe as readiness probe, does that mean a Hazelcast node is always ready when it has started up?
The text was updated successfully, but these errors were encountered:
To be honest I don't remember why we removed it, but it might have been the problem that we used Deployment which started all PODs at the same time. Now, we recommend using StatefulSet and the readinessProbe should be in place.
We actually introduced a new endpoint /hazelcast/health/ready and this should be used for readinessProbe (here is an example).
HttpGetCommandProcessor (assuming this is the one that handles
/hazelcast/health/node-state
) will return HTTP 503 if and only if NodeState=SHUT_DOWN.I have a few questions about this:
readiness.sh
that will only mark the Pod as ready, if and only if ClusterSafe=TRUE. Seeing howreadiness.sh
has been removed & none of the samples are using/hazelcast/health/cluster-safe
as readiness probe, does that mean a Hazelcast node is always ready when it has started up?The text was updated successfully, but these errors were encountered: