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 authored Nov 30, 2023
1 parent 5a95451 commit 2f350a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -90,7 +90,7 @@ spec:
values:
- scanfile
topologyKey: "cloud.ionos.com/nodepool-name"
- weight: 10
- weight: 20
podAffinityTerm:
labelSelector:
matchExpressions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -87,7 +87,7 @@ spec:
values:
- webserver
topologyKey: "cloud.ionos.com/nodepool-name"
- weight: 10
- weight: 20
podAffinityTerm:
labelSelector:
matchExpressions:
Expand Down

0 comments on commit 2f350a7

Please sign in to comment.