Skip to content

Commit

Permalink
Handle node selector in flink operator (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-bigorajski authored Jan 7, 2025
1 parent d97d9bb commit 7fcf635
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ data:
{{- if .Values.enterprise.flinkK8sOperatorDeploymentManager.taskManagerReplicas }}
taskManagerReplicas: {{ .Values.enterprise.flinkK8sOperatorDeploymentManager.taskManagerReplicas | quote }}
{{- end }}
{{- if .Values.enterprise.flinkK8sOperatorDeploymentManager.nodeSelector }}
nodeSelector:
{{ .Values.enterprise.flinkK8sOperatorDeploymentManager.nodeSelector | toYaml | indent 2 }}
{{- end }}
}
{{- else if eq .Values.nussknacker.mode "ververica" }}
deploymentConfig: {
Expand Down
1 change: 1 addition & 0 deletions src/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,4 @@ enterprise:
pvcName: job-states-pvc
mountPoint: /mnt/jobstates
# pvcStorageClassName: default
nodeSelector: { }

0 comments on commit 7fcf635

Please sign in to comment.