Skip to content

Commit

Permalink
Support additional taints tolerations
Browse files Browse the repository at this point in the history
Signed-off-by: Dinar Valeev <[email protected]>
  • Loading branch information
k0da committed Oct 16, 2024
1 parent 24d19e2 commit 4c0d39c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms: {{ include "linux-node-selector-terms" . | nindent 14 }}
tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
{{- if .Values.extraTolerations }}
{{ toYaml .Values.extraTolerations | indent 8 }}
{{- end }}
containers:
- image: {{ .Values.rancherImage }}:{{ default .Chart.AppVersion .Values.rancherImageTag }}
imagePullPolicy: {{ default "IfNotPresent" .Values.rancherImagePullPolicy }}
Expand Down
4 changes: 4 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ startupProbe:
timeoutSeconds: 5
periodSeconds: 10
failureThreshold: 12

# Additional taints to tolerate
extraTolerations: {}

livenessProbe:
timeoutSeconds: 5
periodSeconds: 30
Expand Down

0 comments on commit 4c0d39c

Please sign in to comment.