- 新增 edu-platform 平台级 chart(namespace/configmap/secret/ingress/hpa) - 新增 api-gateway 服务级 chart(完整迁移自原 manifest) - 新增 6 个业务服务 chart 桩(iam/core-edu/content/msg/data-ana/ai) - 删除原 api-gateway-deployment.yaml(已迁移至 helm chart) - 更新 infra/k8s/README.md 为 Helm Chart 管理说明 - 新增 backup-mysql.sh dry-run 测试脚本(17 断言)
36 lines
692 B
YAML
36 lines
692 B
YAML
# 生产环境覆盖
|
|
global:
|
|
labels:
|
|
app.kubernetes.io/part-of: edu-platform
|
|
app.kubernetes.io/environment: prod
|
|
imagePullSecrets:
|
|
- name: registry-credentials
|
|
|
|
configMap:
|
|
data:
|
|
NODE_ENV: production
|
|
LOG_LEVEL: warn
|
|
|
|
ingress:
|
|
hosts:
|
|
- host: edu.example.com
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
service: api-gateway
|
|
port: 8080
|
|
- path: /auth
|
|
pathType: Prefix
|
|
service: api-gateway
|
|
port: 8080
|
|
tls:
|
|
- secretName: edu-tls
|
|
hosts:
|
|
- edu.example.com
|
|
|
|
hpa:
|
|
minReplicas: 3
|
|
maxReplicas: 20
|
|
targetCPUUtilizationPercentage: 60
|
|
targetMemoryUtilizationPercentage: 70
|