Skip to content

Commit

Permalink
add tolerations and node affinity to schedule on the correct Karpente…
Browse files Browse the repository at this point in the history
…r nodes
  • Loading branch information
jashan-lco committed Nov 2, 2023
1 parent 63b7250 commit 8f7c30f
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions helm-chart/banzai-floyds/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ securityContext:
runAsUser: 10087
runAsGroup: 10000

# TODO: resolve: this is a duplicate (see above)
horizontalPodAutoscaler:
enabled: true
minReplicas: 3
Expand All @@ -49,9 +50,20 @@ horizontalPodAutoscaler:

nodeSelector: {}

tolerations: []

affinity: {}
tolerations:
- key: karpenter.lco.earth/provisioner-name
operator: Equal
value: prod

affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: karpenter.lco.earth/provisioner-name
operator: In
values:
- prod

ingester:
apiRoot: http://archiveapi-internal.prod/
Expand Down

0 comments on commit 8f7c30f

Please sign in to comment.