fix(helm chart): 添加预处理任务的节点选择参数,修复跨节点存储卷问题。
This commit is contained in:
@@ -35,20 +35,20 @@ spec:
|
|||||||
value: {{ .Values.config.core_model_config | b64enc | quote }}
|
value: {{ .Values.config.core_model_config | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/config/adapter/config.toml
|
- mountPath: /app/config/adapter
|
||||||
name: adapter-config
|
name: adapter-config
|
||||||
subPath: config.toml
|
- mountPath: /app/config/core
|
||||||
- mountPath: /app/config/core/.env
|
|
||||||
name: core-config
|
name: core-config
|
||||||
subPath: .env
|
|
||||||
- mountPath: /app/config/core/bot_config.toml
|
|
||||||
name: core-config
|
|
||||||
subPath: bot_config.toml
|
|
||||||
- mountPath: /app/config/core/model_config.toml
|
|
||||||
name: core-config
|
|
||||||
subPath: model_config.toml
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{ toYaml .Values.pre_processor.image.pullSecrets | nindent 8 }}
|
{{ toYaml .Values.pre_processor.image.pullSecrets | nindent 8 }}
|
||||||
|
{{- if .Values.pre_processor.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{ toYaml .Values.pre_processor.nodeSelector | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.pre_processor.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{ toYaml .Values.pre_processor.tolerations | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: adapter-config
|
- name: adapter-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ pre_processor:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
pullSecrets: [ ]
|
pullSecrets: [ ]
|
||||||
|
|
||||||
|
nodeSelector: { }
|
||||||
|
tolerations: [ ]
|
||||||
|
|
||||||
# 麦麦Adapter的部署配置
|
# 麦麦Adapter的部署配置
|
||||||
adapter:
|
adapter:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user