Skip to content

Commit e526dc2

Browse files
authored
Merge pull request #543 from stuggi/bump_weight_proposed
[18.0.0-proposed]Change weight assigned to podAntiAffinity to 100
2 parents 83ff4f7 + d121fed commit e526dc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/common/affinity/affinity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func DistributePods(
4848
// https://github.com/kubernetes/api/blob/master/core/v1/well_known_labels.go#L20
4949
TopologyKey: topologyKey,
5050
},
51-
Weight: 1,
51+
Weight: 100,
5252
},
5353
},
5454
},

modules/common/affinity/affinity_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var affinityObj = &corev1.Affinity{
4141
},
4242
TopologyKey: "ThisTopologyKey",
4343
},
44-
Weight: 1,
44+
Weight: 100,
4545
},
4646
},
4747
},

0 commit comments

Comments
 (0)