Skip to content

Commit

Permalink
add PersistentVolumeLastPhaseTransitionTime feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBednar committed Jul 21, 2023
1 parent a31fee9 commit 5310dd7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/features/kube_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,13 @@ const (
// Enables PDBUnhealthyPodEvictionPolicy for PodDisruptionBudgets
PDBUnhealthyPodEvictionPolicy featuregate.Feature = "PDBUnhealthyPodEvictionPolicy"

// owner: @RomanBednar
// kep: https://kep.k8s.io/3762
// alpha: v1.28
//
// Adds a new field to persistent volumes which holds a timestamp of when the volume last transitioned its phase.
PersistentVolumeLastPhaseTransitionTime featuregate.Feature = "PersistentVolumeLastPhaseTransitionTime"

// owner: @haircommander
// kep: https://kep.k8s.io/2364
// alpha: v1.23
Expand Down Expand Up @@ -1105,6 +1112,8 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS

PDBUnhealthyPodEvictionPolicy: {Default: true, PreRelease: featuregate.Beta},

PersistentVolumeLastPhaseTransitionTime: {Default: false, PreRelease: featuregate.Alpha},

PodAndContainerStatsFromCRI: {Default: false, PreRelease: featuregate.Alpha},

PodDeletionCost: {Default: true, PreRelease: featuregate.Beta},
Expand Down

0 comments on commit 5310dd7

Please sign in to comment.