diff --git a/moon/templates/moon.yaml b/moon/templates/moon.yaml index da8514b..0539061 100644 --- a/moon/templates/moon.yaml +++ b/moon/templates/moon.yaml @@ -136,6 +136,12 @@ spec: labels: app: moon spec: + {{- if .Values.moon.nodeSelector }} + nodeSelector: + {{- range $key, $value := .Values.moon.nodeSelector }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} serviceAccountName: {{ .Release.Name }} containers: - name: moon diff --git a/moon/values.yaml b/moon/values.yaml index b3e5e75..aea5f03 100644 --- a/moon/values.yaml +++ b/moon/values.yaml @@ -20,7 +20,13 @@ moon: # sessionAttemptTimeout: 30m # ## -# ## Number of running moon replicas. +# ## Node Selector for Moon pods +# ## +# nodeSelector: +# kubernetes.io/os: linux + +# ## +# ## Number of running Moon replicas. # ## # replicas: 2