1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 06:29:29 +01:00

Add RemovePodsViolatingTopologySpreadConstraint strategy

This adds a strategy to balance pod topology domains based on the scheduler's
PodTopologySpread constraints. It attempts to find the minimum number of pods
that should be sent for eviction by comparing the largest domains in a topology
with the smallest domains in that topology.
This commit is contained in:
Mayank Kumar
2019-05-23 13:46:09 -07:00
committed by Mike Dame
parent 6240aa68f7
commit 4108362158
6 changed files with 750 additions and 23 deletions

View File

@@ -10,6 +10,9 @@ rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "watch", "list"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "watch", "list", "delete"]