Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
systemready-0.2.0
-
None
Description
Felix systemready right now only supports readiness checks.
In kubernetes there is a distinction between liveliness and readiness.
- Liveliness decides if the pod needs to be killed and restarted.
- Readiness decides if the pod is exposed to the service / load balancer.
So it makes sense to also support liveliness checks in systemready.
The design idea is that liveliness is a subset of readiness. So an inner set of checks should decide about liveliness and the full set should decide about readines.
So I plan to add a property type=Readiness, Liveliness that determines the type of the check. A check without this property is considered as a readiness check.
The second thing we need is another servlet that displays the liveliness status to the outside.