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

API: Add a new parameter labelSelector to StrategyParameters.

This commit is contained in:
lixiang
2021-02-26 15:49:00 +08:00
parent 7f9c95fa16
commit 2517268b1f
5 changed files with 17 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ type StrategyParameters struct {
Namespaces *Namespaces
ThresholdPriority *int32
ThresholdPriorityClassName string
LabelSelector *metav1.LabelSelector
}
type Percentage float64