Interview Prep/Kubernetes/Scheduling, Resources & Autoscaling

How does the descheduler complement the scheduler?

AdvancedConceptScheduling, Resources & Autoscaling
Answer

The scheduler decides only at Pod creation time and never moves running Pods. The descheduler (a separate project) evicts Pods that violate current policy, such as duplicates on one node, taint violations, spread skew or underused nodes, so the scheduler can place them better. It respects PDBs and should run as a CronJob or Deployment.

All Kubernetes questions Roadmap: Kubernetes core

More on Scheduling, Resources & Autoscaling