1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

NodeAffinity plugin to use the existing validation methods

This commit is contained in:
Amir Alavi
2022-08-09 10:29:46 -04:00
parent ccfaeb2275
commit 27fa7a70a1
4 changed files with 57 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ import (
const PluginName = "RemoveFailedPods"
// RemoveFailedPods evicts pods on the node which violate NoSchedule Taints on nodes
// RemoveFailedPods evicts pods in failed status phase that match the given args criteria
type RemoveFailedPods struct {
handle framework.Handle
args *componentconfig.RemoveFailedPodsArgs