Kubernetes & Operations
API server watches
Explain how the API server streams changes through watches that resume from a resourceVersion, and why a 410 Gone response means the client must list again and rebuild its cache.
What you will be able to do
- Explain how list and watch use resourceVersion to keep a client current.
- Handle a 410 Gone response by clearing the cache, listing again and starting a new watch.
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
- 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.
- Scheduler filteringIntermediate · 4 min
Explain how the kube-scheduler filters nodes by feasibility, why it counts requests rather than live usage, and how to read the reasons on a Pending Pod.
- Scheduler scoringIntermediate · 4 min
Explain how the scheduler scores the nodes that survive filtering, how plugin weights change the winner, and why equal nodes can receive Pods unevenly across a rollout.
- Taints and tolerationsIntermediate · 4 min
Explain how taints repel Pods, how tolerations allow them onto tainted nodes, and how NoExecute evicts running Pods after an optional time limit set by the workload.
- Topology spread constraintsIntermediate · 5 min
Topology spread constraints keep matching pods evenly spread across zones, and they explain why a hard rule can leave pods Pending when one zone has no room.