fix(helm chart): 添加预处理任务的节点选择参数,修复跨节点存储卷问题。

pull/1458/head
zhangxinhui02 2025-12-23 03:01:31 +08:00
parent 27bc57b488
commit 5351c1ed90
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
2 changed files with 13 additions and 10 deletions

View File

@ -35,20 +35,20 @@ spec:
value: {{ .Values.config.core_model_config | b64enc | quote }}
{{- end }}
volumeMounts:
- mountPath: /app/config/adapter/config.toml
- mountPath: /app/config/adapter
name: adapter-config
subPath: config.toml
- mountPath: /app/config/core/.env
- mountPath: /app/config/core
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:
{{ 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:
- name: adapter-config
persistentVolumeClaim:

View File

@ -13,6 +13,9 @@ pre_processor:
pullPolicy: IfNotPresent
pullSecrets: [ ]
nodeSelector: { }
tolerations: [ ]
# 麦麦Adapter的部署配置
adapter: