feat: 完成 issue #56 ⑥ Helm chart 参数化(资源/副本/域名/存储)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# iAOP Helm Chart —— 生产环境 values 覆盖示例(issue #56 多环境参数化)。
|
||||
# 用法:helm install iaop deploy/k8s/helm/iaop -f values.prod.yaml
|
||||
# 说明:生产环境按 PRD 5.6 配置点固化:资源配额、副本/HPA、灰度、域名。
|
||||
|
||||
# 生产环境:多副本 + HPA、大资源、灰度滚动
|
||||
replicaCount: 3
|
||||
autoscaling:
|
||||
enabled: true
|
||||
minReplicas: 3
|
||||
maxReplicas: 10
|
||||
targetCPUUtilizationPercentage: 70
|
||||
rollingUpdate:
|
||||
maxUnavailable: 0
|
||||
maxSurge: 1
|
||||
resources:
|
||||
requests:
|
||||
cpu: "2"
|
||||
memory: 8Gi
|
||||
limits:
|
||||
cpu: "8"
|
||||
memory: 32Gi
|
||||
storage:
|
||||
enabled: true
|
||||
className: "" # 生产建议指定 SSD StorageClass
|
||||
size: 200Gi
|
||||
|
||||
# 域名入口(生产域名 + 证书)
|
||||
ingress:
|
||||
enabled: true
|
||||
host: iaop.example.com
|
||||
|
||||
# 私有镜像仓库凭据(生产必需)
|
||||
image:
|
||||
pullSecrets:
|
||||
- iaop-registry-secret
|
||||
Reference in New Issue
Block a user