← Kubernetes learning pathKubernetes · Module 7 of 10
Scaling and scheduling
Scale apps and control where pods run.
📖 Key ideas
- Set resource requests and limits (CPU, memory).
- Horizontal Pod Autoscaler scales replicas by CPU or custom metrics.
- Cluster Autoscaler adds/removes nodes.
- Node selectors, affinity and taints/tolerations guide placement.
- Jobs run once; CronJobs run on schedules.
💡 Real-life example: Requests are booking a seat; limits are the maximum space you are allowed to take.
RequestsGuaranteed resources for scheduling
LimitsMaximum resources allowed
HPAHorizontal Pod Autoscaler
CronJobScheduled job