File tree Expand file tree Collapse file tree 5 files changed +16
-2
lines changed
Expand file tree Collapse file tree 5 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ controls:
2121sortOrder :
2222 - /azimuth-llm/huggingface/model
2323 - /azimuth-llm/huggingface/token
24+ - /azimuth-llm/api/nodeGroupSelector
2425 - /azimuth-llm/ui/appSettings/model_instruction
2526 - /azimuth-llm/ui/appSettings/page_title
2627 - /azimuth-llm/api/image/version
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ controls:
2121sortOrder :
2222 - /huggingface/model
2323 - /huggingface/token
24+ - /api/nodeGroupSelector
2425 - /ui/appSettings/model_instruction
2526 - /ui/appSettings/page_title
2627 - /api/image/version
Original file line number Diff line number Diff line change 8282 emptyDir :
8383 medium : Memory
8484 sizeLimit : 1Gi
85- {{- with $.Values.api.nodeSelector }}
85+ {{- with .Values.api }}
86+ {{- if .nodeGroupSelector }}
8687 nodeSelector :
87- {{- toYaml . | nindent 8 }}
88+ capi.stackhpc.com/node-group : {{ .nodeGroupSelector | quote }}
89+ {{- else if .nodeSelector }}
90+ nodeSelector :
91+ {{- toYaml .nodeSelector | nindent 8 }}
92+ {{- end }}
8893 {{- end }}
8994 {{- with $.Values.api.affinity }}
9095 affinity :
Original file line number Diff line number Diff line change 4040 "default" : " v0.11.0"
4141 }
4242 }
43+ },
44+ "nodeGroupSelector" : {
45+ "type" : " string" ,
46+ "title" : " Node Group" ,
47+ "description" : " The node group to deploy the API backend to. Must match a node group label in the cluster."
4348 }
4449 }
4550 },
Original file line number Diff line number Diff line change 104104 # - name: FOO
105105 # value: "bar"
106106 extraEnv : []
107+ # Pod node group selector label value
108+ nodeGroupSelector : " "
107109 # Pod node selector labels
108110 nodeSelector : {}
109111 # Pod tolerations
You can’t perform that action at this time.
0 commit comments