© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
D. R. HeffelfingerPayara Micro Revealedhttps://doi.org/10.1007/978-1-4842-8161-1_8

8. Health Checks

David R. Heffelfinger1  
(1)
Fairfax, VA, USA
 

It is common for cloud-based applications to provide a health check endpoint for orchestration tools such as Kubernetes to use to verify that services are up and running. These orchestration tools can use these endpoints to determine if a service needs to be restarted or otherwise dealt with.

MicroProfile provides a Health Check API we can use to develop these health check endpoints. We can provide reports to determine if the application is live and/or if it is ready. In both cases, we do so by implementing the HealthCheck ...

Get Payara Micro Revealed: Cloud-Native Application Development with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.