File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
helm/flink-kubernetes-operator Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 60
60
{{- if .Values.operatorPod.nodeSelector }}
61
61
nodeSelector : {{ toYaml .Values.operatorPod.nodeSelector | nindent 8 }}
62
62
{{- end }}
63
+ {{- if .Values.operatorPod.affinity }}
64
+ affinity : {{ toYaml .Values.operatorPod.affinity | nindent 8 }}
65
+ {{- end }}
63
66
{{- with .Values.operatorPod.tolerations }}
64
67
tolerations :
65
68
{{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -72,12 +72,14 @@ operatorPod:
72
72
# key: ""
73
73
# dnsPolicy: ""
74
74
# dnsConfig: {}
75
- # Node labels for operator pod assignment
75
+ # Node labels and affinity for operator pod assignment
76
76
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
77
77
envFrom :
78
78
# - configMapRef:
79
79
# name: ""
80
80
nodeSelector : {}
81
+
82
+ affinity : {}
81
83
# Node tolerations for operator pod assignment
82
84
# https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
83
85
tolerations : []
You can’t perform that action at this time.
0 commit comments