Skip to content

Commit

Permalink
kruise rollout support tolerations (#71)
Browse files Browse the repository at this point in the history
Co-authored-by: 明源 <liming.jlm@alibaba-inc.com>
  • Loading branch information
jingliming and 明源 committed Oct 27, 2023
1 parent 5066fd0 commit 030f5de
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions versions/kruise-rollout/0.4/templates/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,7 @@ spec:
- {{ .Values.rollout.fullname }}
topologyKey: kubernetes.io/hostname
weight: 100
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
10 changes: 10 additions & 0 deletions versions/kruise-rollout/0.4/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,13 @@ resources:
# requests:
# cpu: 100m
# memory: 128Mi

tolerations:
# Toleration represents the toleration object that can be attached to a pod.
# The pod this Toleration is attached to tolerates any taint that matches
# the triple <key,value,effect> using the matching operator <operator>.
# you could find more info at https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# - effect: NoSchedule
# key: test
# operator: Equal
# value: hello

0 comments on commit 030f5de

Please sign in to comment.