© Luqman Saeed and Ghazy Abdallah 2022
L. Saeed, G. AbdallahPro Cloud Native Java EE Appshttps://doi.org/10.1007/978-1-4842-8900-6_10

10. Taking a Pulse with Heal Check

Luqman Saeed1   and Ghazy Abdallah2
(1)
Cantonments, Accra, Ghana
(2)
Alwakra, Qatar
 

Applications packaged as container images and deployed to the cloud are mostly managed by automated scheduling and deployment systems like Kubernetes. These systems will kill unhealthy containers, spawn new ones, and route requests to the requisite containers, all automatically. To help achieve these, the deployment manager will need to be able to probe the application instance for some health-related information.

A kubelet (the Kubernetes “agent”) will probe a container to check if it’s live and ready ...

Get Pro Cloud Native Java EE Apps: DevOps with MicroProfile, Jakarta EE 10 APIs, and Kubernetes 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.