mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Graduate PodDeletionCost to Beta
This commit is contained in:
parent
46563b0abe
commit
6ebafb37dd
@ -122,7 +122,7 @@ const (
|
|||||||
// pod deletion order.
|
// pod deletion order.
|
||||||
// The implicit deletion cost for pods that don't set the annotation is 0, negative values are permitted.
|
// The implicit deletion cost for pods that don't set the annotation is 0, negative values are permitted.
|
||||||
//
|
//
|
||||||
// This annotation is alpha-level and is only honored when PodDeletionCost feature is enabled.
|
// This annotation is beta-level and is only honored when PodDeletionCost feature is enabled.
|
||||||
PodDeletionCost = "controller.kubernetes.io/pod-deletion-cost"
|
PodDeletionCost = "controller.kubernetes.io/pod-deletion-cost"
|
||||||
|
|
||||||
// AnnotationTopologyAwareHints can be used to enable or disable Topology
|
// AnnotationTopologyAwareHints can be used to enable or disable Topology
|
||||||
|
@ -686,6 +686,7 @@ const (
|
|||||||
|
|
||||||
// owner: @ahg-g
|
// owner: @ahg-g
|
||||||
// alpha: v1.21
|
// alpha: v1.21
|
||||||
|
// beta: v1.22
|
||||||
//
|
//
|
||||||
// Enables controlling pod ranking on replicaset scale-down.
|
// Enables controlling pod ranking on replicaset scale-down.
|
||||||
PodDeletionCost featuregate.Feature = "PodDeletionCost"
|
PodDeletionCost featuregate.Feature = "PodDeletionCost"
|
||||||
@ -858,7 +859,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
PreferNominatedNode: {Default: false, PreRelease: featuregate.Alpha},
|
PreferNominatedNode: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
ProbeTerminationGracePeriod: {Default: false, PreRelease: featuregate.Alpha},
|
ProbeTerminationGracePeriod: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
RunAsGroup: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.22
|
RunAsGroup: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.22
|
||||||
PodDeletionCost: {Default: false, PreRelease: featuregate.Alpha},
|
PodDeletionCost: {Default: true, PreRelease: featuregate.Beta},
|
||||||
TopologyAwareHints: {Default: false, PreRelease: featuregate.Alpha},
|
TopologyAwareHints: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
PodAffinityNamespaceSelector: {Default: false, PreRelease: featuregate.Alpha},
|
PodAffinityNamespaceSelector: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
ServiceLoadBalancerClass: {Default: false, PreRelease: featuregate.Alpha},
|
ServiceLoadBalancerClass: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
@ -144,7 +144,7 @@ const (
|
|||||||
// pod deletion order.
|
// pod deletion order.
|
||||||
// The implicit deletion cost for pods that don't set the annotation is 0, negative values are permitted.
|
// The implicit deletion cost for pods that don't set the annotation is 0, negative values are permitted.
|
||||||
//
|
//
|
||||||
// This annotation is alpha-level and is only honored when PodDeletionCost feature is enabled.
|
// This annotation is beta-level and is only honored when PodDeletionCost feature is enabled.
|
||||||
PodDeletionCost = "controller.kubernetes.io/pod-deletion-cost"
|
PodDeletionCost = "controller.kubernetes.io/pod-deletion-cost"
|
||||||
|
|
||||||
// AnnotationTopologyAwareHints can be used to enable or disable Topology
|
// AnnotationTopologyAwareHints can be used to enable or disable Topology
|
||||||
|
Loading…
Reference in New Issue
Block a user