What are health checks in OpenShift Health checks are required to ensure that application is resilient so application can be restarted without manual action. Such health checks can be configured using probes in openshift. Kubernetes provides two type of probes, readiness probe and liveness probe. Liveness probe Liveness probe checks that application is running and handles those situations when there is any issue with application. Readiness probe Readiness probe check whether application is ready to handle the traffic. Another benefit of having these health checks is that you can restart or deploy application with zero downtime when you are having minimum 2 pods running for your application. In this case it will not bring all the pods down. Supported health check types You can configure the health check of below type for both of the above probes. HTTP Health Check It will call a web URL and if it returns the HTTP status code between 200 and 399 then it will consider as
Blogs about Java, J2ee, Multithreading, Data structure, Algorithm, Spring framework, Spring boot, Web services and open source technologies