Kubernetes & Operations
HPA VPA and KEDA
HPA scales replica counts from a metric ratio, and the metric you pick decides whether it tracks real work, such as a queue backlog, or only CPU.
What you will be able to do
- Explain how the HPA ratio rule, requests and the scale-down window decide replica counts.
- Decide when KEDA or a custom signal fits a workload better than CPU, and what the cold-start cost is.
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
- CSI driversAdvanced · 4 min
CSI drivers let storage vendors plug into Kubernetes from outside core, and claims and pods work only when the right driver is installed on every node that needs it.
- StatefulSetsAdvanced · 4 min
A StatefulSet gives each pod a stable name and its own claim, so a pod's identity and its data stay together, including after a node failure.
- PDB and safe drainingAdvanced · 4 min
A PodDisruptionBudget limits how many pods of an app can be evicted at once during planned work, such as a node drain, and the Eviction API enforces it.
- Service and EndpointSlice: operational verificationAdvanced · 4 min
Endpoint state during a rollout shows when a pod stops receiving traffic, and matching it against client errors shows whether the fault is in shutdown or propagation.