Back to Glossary
Kubernetes

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

Test your knowledge of Liveness Probe and 130 other DevOps concepts