What is Liveness Probe?
A Kubernetes health check that restarts a container when it fails.
A Liveness Probe is a periodic health check Kubernetes runs on a container. If it fails consecutively (failureThreshold times), Kubernetes kills and restarts the container. Probes can be HTTP GET (checks endpoint), TCP socket, exec (runs command), or gRPC. Liveness probes should check if the app is running correctly — not just that it started. Avoid making liveness probes too aggressive (short timeouts) to prevent false positives causing unnecessary restarts.
Related Terms
More Kubernetes Terms
Admission Controller
A Kubernetes plugin that intercepts API requests before objects are persisted.
Auto Scaling
Automatically adjusting the number of compute resources based on demand.
ClusterIP
The default Kubernetes Service type that exposes a service on an internal cluster IP.
ConfigMap
A Kubernetes object for storing non-sensitive configuration data as key-value pairs.
Controller Manager
Kubernetes control plane component running control loops to maintain desired state.
CoreDNS
The default DNS server in Kubernetes clusters for service discovery.
Test your knowledge of Liveness Probe and 130 other DevOps concepts