diff --git a/modules/common/affinity/affinity.go b/modules/common/affinity/affinity.go index a33b2dd4..0e188c47 100644 --- a/modules/common/affinity/affinity.go +++ b/modules/common/affinity/affinity.go @@ -48,7 +48,7 @@ func DistributePods( // https://github.com/kubernetes/api/blob/master/core/v1/well_known_labels.go#L20 TopologyKey: topologyKey, }, - Weight: 1, + Weight: 100, }, }, }, diff --git a/modules/common/affinity/affinity_test.go b/modules/common/affinity/affinity_test.go index 0ea10269..16a142dd 100644 --- a/modules/common/affinity/affinity_test.go +++ b/modules/common/affinity/affinity_test.go @@ -41,7 +41,7 @@ var affinityObj = &corev1.Affinity{ }, TopologyKey: "ThisTopologyKey", }, - Weight: 1, + Weight: 100, }, }, },