Skip to content

Commit aa8435d

Browse files
author
David Riosalido
committed
Added antiaffinity rules
Signed-off-by: David Riosalido <[email protected]>
1 parent a4be4de commit aa8435d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.helm-defaults.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,15 @@ gitbaseServer:
5858

5959
nodeSelector:
6060
cloud.google.com/gke-nodepool: default-pool
61+
62+
affinity:
63+
podAntiAffinity:
64+
requiredDuringSchedulingIgnoredDuringExecution:
65+
- labelSelector:
66+
matchExpressions:
67+
- key: app
68+
operator: In
69+
values:
70+
#if the chart name is changed or a nameOverride is used, this value has to be changed to the new name.
71+
- gitbase-web
72+
topologyKey: kubernetes.io/hostname

0 commit comments

Comments
 (0)