File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ nodeAffinity:
7373 operator: NotIn
7474 values:
7575 - { { .Values.affinity.invokerNodeLabel } }
76- preferredDuringSchedulingIgnoredDuringExecution:
7776 - weight: 80
7877 preference:
7978 matchExpressions:
Original file line number Diff line number Diff line change 4747{{- else }}
4848 emptyDir : {}
4949{{- end }}
50+
51+ {{- if .Values.affinity.enabled }}
52+ affinity :
53+ {{ include "openwhisk.affinity.provider" . | indent 8 }}
54+ {{- end }}
55+
5056 initContainers :
5157 # Wait for a controller to be up (which implies couchdb is up as well).
5258{{ include "openwhisk.readiness.waitForController" . | indent 6 }}
Original file line number Diff line number Diff line change 3535{{ include "openwhisk.label_boilerplate" . | indent 8 }}
3636 spec :
3737 restartPolicy : {{ .Values.providers.kafka.restartPolicy }}
38+ {{- if .Values.affinity.enabled }}
39+ affinity :
40+ {{ include "openwhisk.affinity.provider" . | indent 8 }}
41+ {{- end }}
3842 initContainers :
3943 # Wait for a controller to be up (which implies couchdb and kafka are up as well).
4044{{ include "openwhisk.readiness.waitForController" . | indent 6 }}
You can’t perform that action at this time.
0 commit comments