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:
|
env:
|
||||||
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
||||||
value: "0"
|
value: "0"
|
||||||
# Alterado para production para ganho de performance real no framework
|
|
||||||
- name: NODE_ENV
|
- name: NODE_ENV
|
||||||
value: "production"
|
value: "production"
|
||||||
# Otimização fina do Garbage Collector (GC)
|
# Removidas as flags de semi-space que causaram o erro
|
||||||
- name: NODE_OPTIONS
|
- 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:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "1536Mi" # Alinhado com o max-old-space para evitar swap
|
memory: "1536Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
limits:
|
limits:
|
||||||
memory: "2Gi"
|
memory: "2Gi"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue