Christian Schneider created FELIX-5899:
------------------------------------------

             Summary: Add liveliness checks
                 Key: FELIX-5899
                 URL: https://issues.apache.org/jira/browse/FELIX-5899
             Project: Felix
          Issue Type: Improvement
          Components: System Ready
    Affects Versions: systemready-0.2.0
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: systemready-0.4.0


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to