From the course: OpenShift Essential Training: Container Orchestration and Deployment
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Kubernetes probes - OpenShift Tutorial
From the course: OpenShift Essential Training: Container Orchestration and Deployment
Kubernetes probes
- [Instructor] What if your app could monitor its own health and heal itself when something goes wrong? OpenShift uses probes to keep your application healthy and ready for action. Probes are like health monitoring for your app, like regular checkups are for a human being. Health probes are an important part of maintaining a robust cluster. They enable the cluster to determine the status of an application by repeatedly probing it for a response. Health probes affect a cluster's ability to handle crashes, conduct failover, conduct monitoring, and also scale and determine when a new replica set is ready to receive requests. The types of probes we can deploy are the following: liveness probes, these are like checking vital signs. Is the heart beating? If not, it's time for a restart, just like OpenShift would restart an unresponsive container. Readiness probes are like checking if the patient is awake and able to interact. The person might be alive, but if they're not ready for visitors,…