Update k8s/dev/backoffice-deployment-dev.yaml
This commit is contained in:
parent
d3dd0ba336
commit
ed2359dd97
1 changed files with 3 additions and 4 deletions
|
|
@ -31,15 +31,14 @@ spec:
|
|||
env:
|
||||
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
||||
value: "0"
|
||||
# Alterado para production para ganho de performance real no framework
|
||||
- name: NODE_ENV
|
||||
value: "production"
|
||||
# Otimização fina do Garbage Collector (GC)
|
||||
# Removidas as flags de semi-space que causaram o erro
|
||||
- name: NODE_OPTIONS
|
||||
value: "--max-old-space-size=1536 --min-semi-space-size=64 --max-semi-space-size=128"
|
||||
value: "--max-old-space-size=1536"
|
||||
resources:
|
||||
requests:
|
||||
memory: "1536Mi" # Alinhado com o max-old-space para evitar swap
|
||||
memory: "1536Mi"
|
||||
cpu: "500m"
|
||||
limits:
|
||||
memory: "2Gi"
|
||||
|
|
|
|||
Loading…
Reference in a new issue