mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Remove EvenPodsSpread featuregate and related logic
This commit is contained in:
@@ -2764,7 +2764,6 @@ type PodSpec struct {
|
||||
EnableServiceLinks *bool
|
||||
// TopologySpreadConstraints describes how a group of pods ought to spread across topology
|
||||
// domains. Scheduler will schedule pods in a way which abides by the constraints.
|
||||
// This field is only honored by clusters that enable the EvenPodsSpread feature.
|
||||
// All topologySpreadConstraints are ANDed.
|
||||
// +optional
|
||||
TopologySpreadConstraints []TopologySpreadConstraint
|
||||
|
||||
@@ -14866,7 +14866,6 @@ func TestAlphaVolumePVCDataSource(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestValidateTopologySpreadConstraints(t *testing.T) {
|
||||
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.EvenPodsSpread, true)()
|
||||
testCases := []struct {
|
||||
name string
|
||||
constraints []core.TopologySpreadConstraint
|
||||
|
||||
Reference in New Issue
Block a user