Skip to content

Commit

Permalink
Merge pull request #542 from stuggi/bump_weight
Browse files Browse the repository at this point in the history
Change weight assigned to podAntiAffinity to 100
  • Loading branch information
stuggi authored Jul 30, 2024
2 parents df36d69 + c61e750 commit 7fd3da6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/common/affinity/affinity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion modules/common/affinity/affinity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var affinityObj = &corev1.Affinity{
},
TopologyKey: "ThisTopologyKey",
},
Weight: 1,
Weight: 100,
},
},
},
Expand Down

0 comments on commit 7fd3da6

Please sign in to comment.