Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/azimuth-chat/azimuth-ui.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ controls:
sortOrder:
- /azimuth-llm/huggingface/model
- /azimuth-llm/huggingface/token
- /azimuth-llm/api/azimuthNodeGroupSelector
- /azimuth-llm/ui/appSettings/model_instruction
- /azimuth-llm/ui/appSettings/page_title
- /azimuth-llm/api/image/version
Expand Down
5 changes: 5 additions & 0 deletions charts/azimuth-chat/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
"default": "v0.11.0"
}
}
},
"azimuthNodeGroupSelector": {
"type": "string",
"title": "Node Group",
"description": "(Optional) Require that the LLM runs on a particular node group. Must match a node group name in the cluster."
}
}
},
Expand Down
1 change: 1 addition & 0 deletions charts/azimuth-image-analysis/azimuth-ui.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ controls:
sortOrder:
- /azimuth-llm/huggingface/model
- /azimuth-llm/huggingface/token
- /azimuth-llm/api/azimuthNodeGroupSelector
- /azimuth-llm/ui/appSettings/page_title
- /azimuth-llm/api/image/version
- /azimuth-llm/ui/appSettings/llm_params/temperature
Expand Down
5 changes: 5 additions & 0 deletions charts/azimuth-image-analysis/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
"modelMaxContextLength": {
"title": "Model Context Length",
"description": "An override for the maximum context length to allow, if the model's default is not suitable."
},
"azimuthNodeGroupSelector": {
"type": "string",
"title": "Node Group",
"description": "The node group to deploy the API backend to. Must match a node group label in the cluster. Leave empty to use any available node."
}
}
},
Expand Down
1 change: 1 addition & 0 deletions charts/azimuth-llm/azimuth-ui.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ controls:
sortOrder:
- /huggingface/model
- /huggingface/token
- /api/azimuthNodeGroupSelector
- /ui/appSettings/model_instruction
- /ui/appSettings/page_title
- /api/image/version
Expand Down
9 changes: 7 additions & 2 deletions charts/azimuth-llm/templates/api/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@ spec:
emptyDir:
medium: Memory
sizeLimit: 1Gi
{{- with $.Values.api.nodeSelector }}
{{- with .Values.api }}
{{- if .azimuthNodeGroupSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
capi.stackhpc.com/node-group: {{ .azimuthNodeGroupSelector | quote }}
{{- else if .nodeSelector }}
nodeSelector:
{{- toYaml .nodeSelector | nindent 8 }}
{{- end }}
{{- end }}
{{- with $.Values.api.affinity }}
affinity:
Expand Down
5 changes: 5 additions & 0 deletions charts/azimuth-llm/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
"default": "v0.11.0"
}
}
},
"azimuthNodeGroupSelector": {
"type": "string",
"title": "Node Group",
"description": "The node group to deploy the API backend to. Must match a node group label in the cluster. Leave empty to use any available node."
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions charts/azimuth-llm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ api:
# - name: FOO
# value: "bar"
extraEnv: []
# Azimuth node group selector label
azimuthNodeGroupSelector: ""
# Pod node selector labels
nodeSelector: {}
# Pod tolerations
Expand Down
Loading