Skip to content

Commit

Permalink
BC-5423 - Adjusted weighting for pod Inter-pod affinity and anti-affi…
Browse files Browse the repository at this point in the history
…nity
  • Loading branch information
mamutmk5 committed Dec 4, 2023
1 parent 2d10b14 commit 2011fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/superhero-dashboard/templates/deployment.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -86,7 +86,7 @@ spec:
values:
- shd
topologyKey: "cloud.ionos.com/nodepool-name"
- weight: 10
- weight: 20
podAffinityTerm:
labelSelector:
matchExpressions:
Expand Down

0 comments on commit 2011fb5

Please sign in to comment.