Skip to content

Commit

Permalink
Merge pull request #112567 from SataQiu/clean-features-20220919
Browse files Browse the repository at this point in the history
Scheduler: remove GA featuregates: DefaultPodTopologySpread, NonPreemptingPriority, PodAffinityNamespaceSelector and PreferNominatedNode
  • Loading branch information
k8s-ci-robot committed Sep 19, 2022
2 parents 8723328 + 92be899 commit 04ee339
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions pkg/features/kube_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,6 @@ const (
// DaemonSets allow workloads to maintain availability during update per node
DaemonSetUpdateSurge featuregate.Feature = "DaemonSetUpdateSurge"

// owner: @alculquicondor
// alpha: v1.19
// beta: v1.20
// GA: v1.24
//
// Enables the use of PodTopologySpread scheduling plugin to do default
// spreading and disables legacy SelectorSpread plugin.
DefaultPodTopologySpread featuregate.Feature = "DefaultPodTopologySpread"

// owner: @gnufied, @verult
// alpha: v1.22
// beta: v1.23
Expand Down Expand Up @@ -609,22 +600,6 @@ const (
// Permits kubelet to run with swap enabled
NodeSwap featuregate.Feature = "NodeSwap"

// owner: @denkensk
// alpha: v1.15
// beta: v1.19
// ga: v1.24
//
// Enables NonPreempting option for priorityClass and pod.
NonPreemptingPriority featuregate.Feature = "NonPreemptingPriority"

// owner: @ahg-g
// alpha: v1.21
// beta: v1.22
// GA: v1.24
//
// Allow specifying NamespaceSelector in PodAffinityTerm.
PodAffinityNamespaceSelector featuregate.Feature = "PodAffinityNamespaceSelector"

// owner: @haircommander
// kep: http://kep.k8s.io/2364
// alpha: v1.23
Expand Down Expand Up @@ -671,18 +646,6 @@ const (
// Enables the PodSecurity admission plugin
PodSecurity featuregate.Feature = "PodSecurity"

// owner: @chendave
// alpha: v1.21
// beta: v1.22
// GA: v1.24
//
// PreferNominatedNode tells scheduler whether the nominated node will be checked first before looping
// all the rest of nodes in the cluster.
// Enabling this feature also implies the preemptor pod might not be dispatched to the best candidate in
// some corner case, e.g. another node releases enough resources after the nominated node has been set
// and hence is the best candidate instead.
PreferNominatedNode featuregate.Feature = "PreferNominatedNode"

// owner: @ehashman
// alpha: v1.21
// beta: v1.22
Expand Down Expand Up @@ -930,8 +893,6 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS

DaemonSetUpdateSurge: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.27

DefaultPodTopologySpread: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.26

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

DevicePlugins: {Default: true, PreRelease: featuregate.Beta},
Expand Down Expand Up @@ -1040,10 +1001,6 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS

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

NonPreemptingPriority: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.26

PodAffinityNamespaceSelector: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.26

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

PodDeletionCost: {Default: true, PreRelease: featuregate.Beta},
Expand All @@ -1056,8 +1013,6 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS

PodSecurity: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},

PreferNominatedNode: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.26

ProbeTerminationGracePeriod: {Default: true, PreRelease: featuregate.Beta}, // Default to true in beta 1.25

ProcMountType: {Default: false, PreRelease: featuregate.Alpha},
Expand Down

0 comments on commit 04ee339

Please sign in to comment.