Descheduler finds running pods that no longer fit cluster conditions and evicts them so the default scheduler can place them elsewhere. It does not schedule replacements itself.
Overview
Descheduler for Kubernetes addresses cases where pods remain on nodes after the cluster changes. The kube-scheduler binds new pods when they appear, but over time nodes may be over or under utilized, labels and taints change, nodes fail, or new nodes join, leaving workloads on less suitable nodes.
Based on a configurable policy, Descheduler selects pods that can move and evicts them. The default kube-scheduler is expected to schedule replacements for evicted pods; Descheduler itself does not perform that scheduling step.
You run it inside a Kubernetes cluster as a Job, CronJob, or Deployment so it can execute repeatedly without manual steps. The pod typically runs in the kube-system namespace as a critical workload to reduce the chance it evicts itself. Installation options include manifest applies, an official Helm chart, and Kustomize builds documented in the project materials.
Policy configuration covers top-level eviction limits, metrics from the Kubernetes Metrics Server or Prometheus, a default Evictor plugin for filtering and protections, and strategy plugins grouped as Deschedule or Balance behaviors. Pod protection rules can allow or deny eviction for daemon sets, local storage, PVCs, system-critical pods, and related cases.
Key features
- Policy-driven pod eviction strategies
- Job, CronJob, or Deployment run modes
- Helm chart and Kustomize installation
- Default Evictor plugin and protections
- Deschedule and Balance strategy plugins
- Metrics Server and Prometheus providers
- Per-node and per-namespace eviction caps
- Relies on kube-scheduler for replays
Use cases
- Rebalancing overloaded Kubernetes nodes
- Correcting stale scheduling after taint changes
- Spreading pods after new nodes join
- Periodic cluster optimization via CronJob
- Enforcing affinity changes on running workloads