Interview Prep/Kubernetes/Autoscaling, Capacity & Cost

Why do Pods sometimes stay Pending and what does the autoscaler do about it?

IntermediateProductionAutoscaling, Capacity & Cost
Answer

kubectl describe pod events show FailedScheduling: 0/12 nodes are available: 3 Insufficient cpu, 9 node(s) had untolerated taint.... If requests simply do not fit, the autoscaler adds nodes; if the cause is an unsatisfiable selector, taint, affinity, or a PVC in another zone, adding nodes will not help.

kubectl get events --field-selector reason=FailedScheduling -A
All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Autoscaling, Capacity & Cost