mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Graduate MinDomains in Pod Topology Spread to beta
This commit is contained in:
parent
609db7ed0b
commit
27e7d167e6
@ -5711,7 +5711,7 @@ type TopologySpreadConstraint struct {
|
|||||||
// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
|
// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
|
||||||
// it will violate MaxSkew.
|
// it will violate MaxSkew.
|
||||||
//
|
//
|
||||||
// This is an alpha field and requires enabling MinDomainsInPodTopologySpread feature gate.
|
// This is an beta field and requires enabling MinDomainsInPodTopologySpread feature gate.
|
||||||
// +optional
|
// +optional
|
||||||
MinDomains *int32
|
MinDomains *int32
|
||||||
// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
|
// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
|
||||||
|
@ -529,6 +529,7 @@ const (
|
|||||||
// owner: @sanposhiho
|
// owner: @sanposhiho
|
||||||
// kep: http://kep.k8s.io/3022
|
// kep: http://kep.k8s.io/3022
|
||||||
// alpha: v1.24
|
// alpha: v1.24
|
||||||
|
// beta: v1.25
|
||||||
//
|
//
|
||||||
// Enable MinDomains in Pod Topology Spread.
|
// Enable MinDomains in Pod Topology Spread.
|
||||||
MinDomainsInPodTopologySpread featuregate.Feature = "MinDomainsInPodTopologySpread"
|
MinDomainsInPodTopologySpread featuregate.Feature = "MinDomainsInPodTopologySpread"
|
||||||
@ -941,7 +942,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
|
|
||||||
MemoryQoS: {Default: false, PreRelease: featuregate.Alpha},
|
MemoryQoS: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
|
||||||
MinDomainsInPodTopologySpread: {Default: false, PreRelease: featuregate.Alpha},
|
MinDomainsInPodTopologySpread: {Default: false, PreRelease: featuregate.Beta},
|
||||||
|
|
||||||
MixedProtocolLBService: {Default: true, PreRelease: featuregate.Beta},
|
MixedProtocolLBService: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user