feat: 完成 issue #56 ⑥ Helm chart 参数化(资源/副本/域名/存储)

This commit is contained in:
2026-08-05 02:57:35 +08:00
parent 437771da34
commit c8d6e725a2
5 changed files with 106 additions and 0 deletions
+14
View File
@@ -10,6 +10,10 @@ image:
repository: iaop/inference
tag: v1.0.0
pullPolicy: IfNotPresent
# 私有仓库拉取凭据(imagePullSecrets)
pullSecrets: []
# 服务账户(缺省 = release 名;自定义请先创建)
serviceAccountName: ""
# ---- 推理后端选择(PRD 5.6 配置点:切换后端仅改此处) ----
inference:
@@ -28,6 +32,16 @@ rollingUpdate:
maxUnavailable: 0
maxSurge: 1
# ---- 水平自动扩缩(HPA;副本参数化扩展,issue #56) ----
autoscaling:
enabled: false
minReplicas: 2
maxReplicas: 8
targetCPUUtilizationPercentage: 70
# ---- 节点调度(可选) ----
tolerations: [] # 容忍度(如 GPU/NPU 专用节点污点)
# ---- 服务 ----
service:
type: ClusterIP