[keycloak-user] Health Checks

Marek Posolda mposolda at redhat.com
Wed Mar 29 04:15:18 EDT 2017


Hi,

we plan to improve this in future version. For now, you may add custom 
REST endpoint and do anything you want in it (eg. test if infinispan is 
running and infinispan has the expected count of nodes etc). For some 
inspiration, you can try this: 
https://github.com/mposolda/keycloak-session-info

Marek

On 29/03/17 01:44, John Bartko wrote:
> https://issues.jboss.org/browse/KEYCLOAK-1578
>
> As a load balancer operator, this defect means it is impossible to
> guarantee useful service delivery.
>
> I have been making use of /auth/realms/{realm} as a health check URI. In
> cases where Infinispan gets hosed this health check can still succeed, full
> disclosure.
>
>
> On Mar 28, 2017 4:46 PM, "John D. Ament" <john.d.ament at gmail.com> wrote:
>
> Hi,
>
> I was wondering, from an operational standpoint, does Keycloak provide any
> healthcheck mechanisms (e.g.a URI) that can be used to check if the service
> is running?
>
> John
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user




More information about the keycloak-user mailing list