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 1, 2023
1 parent 5baa633 commit db40ff5
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -82,7 +82,7 @@ spec:
values:
- amqp-files
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 @@ -87,7 +87,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -108,7 +108,7 @@ spec:
values:
- api-files
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 @@ -87,7 +87,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -108,7 +108,7 @@ spec:
values:
- api-fwu
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 @@ -61,7 +61,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -82,7 +82,7 @@ spec:
values:
- preview-generator
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 @@ -68,7 +68,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -89,7 +89,7 @@ spec:
values:
- tldraw-server
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 @@ -87,7 +87,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -108,7 +108,7 @@ spec:
values:
- api-h5p
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 @@ -86,7 +86,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -107,7 +107,7 @@ spec:
values:
- management-deployment
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 @@ -85,7 +85,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -106,7 +106,7 @@ spec:
values:
- api-worker
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 @@ -86,7 +86,7 @@ spec:
affinity:
podAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
- weight: 9
podAffinityTerm:
labelSelector:
matchExpressions:
Expand All @@ -107,7 +107,7 @@ spec:
values:
- api-tsp-sync
topologyKey: "cloud.ionos.com/nodepool-name"
- weight: 10
- weight: 20
podAffinityTerm:
labelSelector:
matchExpressions:
Expand Down

0 comments on commit db40ff5

Please sign in to comment.