When deploying that helm chart to k8s 1.20.7 I have got an issue due to found ingress api version.
Changed to 'networking.k8s.io/v1'.
Also in our context pods were assigned to wrong nodes of wrong node group.
I added in deployment template an optional config
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
{{- end }}
If such value is written in override.yaml:
...
nodeSelector:
stack: app
...
it will be applied to deployment config file.
When deploying that helm chart to k8s 1.20.7 I have got an issue due to found ingress api version. Changed to 'networking.k8s.io/v1'.
Also in our context pods were assigned to wrong nodes of wrong node group. I added in deployment template an optional config {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} {{- end }}
If such value is written in override.yaml: ... nodeSelector: stack: app ... it will be applied to deployment config file.