mirror of https://github.com/openkruise/charts.git
kruise rollout support tolerations
This commit is contained in:
parent
21f8a3b8e2
commit
a2245dcb45
|
|
@ -96,3 +96,7 @@ spec:
|
|||
- {{ .Values.rollout.fullname }}
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 100
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue