Kubernetes & Operations
Readiness probes: when to send traffic
A container that has started is not a container that can serve. The readiness probe is the switch that keeps a warming Pod out of the Service, and it is also what makes rolling updates safe.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Kubernetes & Operations
- Ingress: host and path routing into the clusterBeginner · 5 min
One load balancer, many Services, and a rule table in YAML. The part that surprises people is that the Ingress object does nothing until a controller exists to read it.
- NetworkPolicyBeginner · 4 min
NetworkPolicy specifies allowed ingress and egress.
- Liveness probes: when to restartIntermediate · 6 min
Some failures leave a process running and useless. A liveness probe is how Kubernetes finds those, and a careless one is how Kubernetes turns a slow database into a…
- Startup probeBeginner · 4 min
Startup probe delays liveness and readiness until boot completes.
- Control plane architectureBeginner · 5 min
Kubernetes control-plane components coordinate desired state and node assignment; kubelets run Pods on nodes.
- etcd durabilityIntermediate · 4 min
Explain why etcd must write every request to disk on a majority of members before it acknowledges it, and why slow disks can trigger elections across the cluster.