Closed a-robinson closed 6 years ago
@a-robinson OK, let me actually test this in the wild. @benesch and I tried this without ready=1 and saw weirdness when new nodes were added.
For both livenessProbe
and readinessProbe
? Or only livenessProbe
?
I wouldn't be shocked if using /health
for the readinessProbe
could cause some weirdness, but I would be very surprised if using it for the livenessProbe
caused any problems.
LGTM!
Otherwise if you don't run
cockroach init
quickly enough all the pods will start to be repeatedly killed by the liveness checker. It's also a more accurate reflection of the intended semantics of liveness (as opposed to readiness).Follow-up to https://github.com/cockroachdb/cockroachdb-cloudformation/pull/17