Skip to content

Commit 28bc478

Browse files
committed
Add affinity to aws load balancer
1 parent e62ef4e commit 28bc478

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

infra/argo-apps/aws-load-balancer.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,16 @@ spec:
88
source:
99
chart: aws-load-balancer-controller
1010
helm:
11-
values: |-
11+
valuesObject:
1212
replicaCount: 1
1313
clusterName: code4ro-prod
14+
affinity:
15+
nodeAffinity:
16+
requiredDuringSchedulingIgnoredDuringExecution:
17+
nodeSelectorTerms:
18+
- matchExpressions:
19+
- key: karpenter.sh/nodepool
20+
operator: DoesNotExist
1421
serviceAccount:
1522
create: false
1623
name: aws-load-balancer-controller

0 commit comments

Comments
 (0)