[ 
https://issues.apache.org/jira/browse/FELIX-5899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571285#comment-16571285
 ] 

Andrei Dulvac commented on FELIX-5899:
--------------------------------------

[[email protected]], this sounds like a good extension to me. Since 
we're on 0.X.Y, we shouldn't worry to much about changing the API - but maybe 
it shows some future issues when we'd have to change it in the future.

> 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
>            Priority: Major
>             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