Table of Contents

How do Kubernetes Probes Work

Summary: This wiki page explains the usage of kubernetes probes.
Date: 1 March 2025

Even though they are pretty good described in the documentation and a availability of a lot of additional resources, I found it hard to find a simple clear overview without going too much in depth. This wiki page aims to do just that.

Probes

Kubernetes probes are Kubernetes capabilities that allow containerised applications to be more reliable and robust. There are two main probes:

Additionally, there is a third type of probe:

Probe Parameters

All probes share the same parameters:

In yaml, the configuration of a probe looks like this, with the default values:

livenessProbe:
  httpGet:
    path: /healthz
    port: liveness-port
  initialDelaySeconds: 0
  periodSeconds: 10
  timeoutSeconds: 1
  failureThreshold: 3
  successThreshold: 1
Note that the configuration for readiness and startup probes is the same, except for the name of the readinessProbe or startupProbe key.

The Schedule

I've found the graphical representation of the probe schedule below very helpful in understanding how the probes work and interact:

Graphical representation of probe schedules