File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 70
70
emptyDir :
71
71
medium : Memory
72
72
sizeLimit : 1Gi
73
+ {{- with $.Values.api.nodeSelector }}
74
+ nodeSelector :
75
+ {{- toYaml . | nindent 8 }}
76
+ {{- end }}
77
+ {{- with $.Values.api.affinity }}
78
+ affinity :
79
+ {{- toYaml . | nindent 8 }}
80
+ {{- end }}
81
+ {{- with $.Values.api.tolerations }}
82
+ tolerations :
83
+ {{- toYaml . | nindent 8 }}
84
+ {{- end }}
73
85
{{- end -}}
Original file line number Diff line number Diff line change 47
47
- name : app
48
48
configMap :
49
49
name : {{ .Release.Name }}-web-app
50
+ {{- with $.Values.ui.nodeSelector }}
51
+ nodeSelector :
52
+ {{- toYaml . | nindent 8 }}
53
+ {{- end }}
54
+ {{- with $.Values.ui.affinity }}
55
+ affinity :
56
+ {{- toYaml . | nindent 8 }}
57
+ {{- end }}
58
+ {{- with $.Values.ui.tolerations }}
59
+ tolerations :
60
+ {{- toYaml . | nindent 8 }}
61
+ {{- end }}
50
62
{{- end -}}
Original file line number Diff line number Diff line change 67
67
# - secretName: chart-example-tls
68
68
# hosts:
69
69
# - chart-example.local
70
-
71
70
# Config for huggingface model cache volume
72
71
# This is mounted at /root/.cache/huggingface in the api deployment
73
72
cacheVolume :
97
96
# Extra args to supply to the vLLM backend, see
98
97
# https://docs.vllm.ai/en/stable/serving/openai_compatible_server.html#command-line-arguments-for-the-server
99
98
extraArgs : []
99
+ # Pod node selector labels
100
+ nodeSelector : {}
101
+ # Pod tolerations
102
+ tolerations : []
103
+ # Pod affinities
104
+ affinity : {}
105
+
100
106
# Configuration for the frontend web interface
101
107
ui :
102
108
# Toggles installation of the gradio web UI
155
161
rollingUpdate :
156
162
maxSurge : 25%
157
163
maxUnavailable : 25%
164
+ # Pod node selector labels
165
+ nodeSelector : {}
166
+ # Pod tolerations
167
+ tolerations : []
168
+ # Pod affinities
169
+ affinity : {}
You can’t perform that action at this time.
0 commit comments