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

PodLifeTime: add States field and deprecate PodStatusPhases

This commit is contained in:
Amir Alavi
2022-06-08 21:10:08 -04:00
parent 4e710cdf3b
commit abf5752260
9 changed files with 60 additions and 30 deletions

View File

@@ -113,7 +113,10 @@ type RemoveDuplicates struct {
type PodLifeTime struct {
MaxPodLifeTimeSeconds *uint
PodStatusPhases []string
States []string
// Deprecated: Use States instead.
PodStatusPhases []string
}
type FailedPods struct {