Kubernetes Liveness Probe Explained #kubernetes
Skills:
Kubernetes90%
Key Takeaways
Explains Kubernetes Liveness Probe using devops concepts
Full Transcript
Liveness probe in Kubernetes is used to check if a container is still running properly. If the probe fails continuously, Kubernetes kills the container and restarts it according to the pod's restart policy. This is useful when a container is alive but stuck or unresponsive. There are three types of liveness probes. One, HTTP, sends an HTTP request to a specified endpoint. Two, TCP, tries to open a TCP connection on a port. Three, exec, runs a command inside the container. Key parameters of liveness probe includes initial delay seconds, which means wait time before the first check. Period seconds, which means how often to check. Failure threshold, which means how many failures before restarting. Here's an example. This probe checks {slash} health every 10 seconds after a 5-second delay. If it fails too many times, the container restarts.
Original Description
This video explains what liveness probe in Kubernetes is in details and simple language with proper visualisation.
#devops
#kubernetes
#k8s
#devsecops
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
More on: Kubernetes
View skill →Related Reads
📰
📰
📰
📰
Building a process manager for 40 services on 8GB of RAM
Dev.to · Victor García
100 Days of DevOps and Cloud (AWS), Day 16: A Load Balancer in Ten Lines of Nginx, and Least-Privilege IAM
Dev.to · Nnamdi Felix Ibe
ColdFusion Docker Containers Hanging During Security Updates
Dev.to · Deepak Sir
Your Azure Network Topology Deserves a Code Review — Not a Portal Click-Through
Medium · DevOps
🎓
Tutor Explanation
DeepCamp AI