Skip to content

Commit

Permalink
added taint tolerations and affinities in helm stateful set
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum committed Jul 5, 2023
1 parent af53114 commit fe42b23
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@ spec:
labels:
app: {{ $name }}
spec:
tolerations:
- effect: NoSchedule
key: app
operator: Equal
value: go-quai
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 99
preference:
matchExpressions:
- key: app
operator: In
values:
- go-quai
containers:
{{- $root := . -}}
{{- range $chain := .Values.goQuai.chains }}
Expand Down

0 comments on commit fe42b23

Please sign in to comment.