Health probes

Health probes let Kubernetes check a container's state. The livenessProbe restarts a stuck container, the readinessProbe removes a Pod from traffic until it is ready, the startupProbe gives slow-starting applications time.

Example

readinessProbe:
  httpGet:
    path: /healthz
    port: 8080

Related concepts

The whole glossary