Interview Prep/Kubernetes/Resources, autoscaling and scheduling

Pods are Pending, the Cluster Autoscaler does not add nodes. Why?

IntermediateScenarioResources, autoscaling and scheduling
Answer

Situation read → The ASG has capacity but no scale-up happens.

What I'd do →

  1. kubectl -n kube-system logs deploy/cluster-autoscaler and look for "didn't trigger scale-up" reasons
  2. Check the pod can fit on any node group (nodeSelector, taints, zone or PVC constraints)
  3. Check max size of the node group and service quotas
  4. Check the ASG tags k8s.io/cluster-autoscaler/enabled
  5. Check IAM permissions

Why → The autoscaler simulates scheduling against node group templates, and any mismatch stops scale-up.

Interview tip → Mention Karpenter's different model of picking instance types directly.

All Kubernetes questions Roadmap: Kubernetes core

More on Resources, autoscaling and scheduling