diff --git a/planpalto-helm/values-prod.yaml b/planpalto-helm/values-prod.yaml index f6ce892..880773c 100644 --- a/planpalto-helm/values-prod.yaml +++ b/planpalto-helm/values-prod.yaml @@ -22,6 +22,27 @@ ingress: certArn: arn:aws:acm:ap-southeast-3:134604498185:certificate/79b1f257-0f66-4b32-96cb-5ea5c12792f6 groupName: planpal-helm # share the one public ALB with argocd + gitea +# Prod backend sized to spread across nodes under load and scale wide. +# 250m request => ~7 pods/node (1930m allocatable); max 12 => uses all 4 nodes. +apps: + backend: + command: [planpal-server] + image: backend + envFrom: [backend-env, aws-env] + ports: + - { name: http, containerPort: 8088 } + - { name: metrics, containerPort: 9090 } + service: + port: 8088 + targetPort: 8088 + probePath: /api/v1/health + probePort: 8088 + resources: + requests: { cpu: 250m, memory: 96Mi } + limits: { cpu: 500m, memory: 256Mi } + hpa: { min: 2, max: 12, cpu: 60 } + pdb: { maxUnavailable: 1 } + seedJob: enabled: true