Add explicit resource requests.

Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
This commit is contained in:
Adam Vollrath
2023-12-13 10:54:31 -06:00
parent cb5787edec
commit 7105b490d9
2 changed files with 14 additions and 0 deletions
@@ -35,3 +35,10 @@ spec:
value: 'postgres.default.svc.cluster.local'
- name: NODE_ENV
value: production
resources:
limits:
cpu: 1000m
memory: 384Mi
requests:
cpu: 20m
memory: 160Mi
@@ -25,6 +25,13 @@ spec:
envFrom:
- secretRef:
name: postgres-secrets
resources:
limits:
cpu: 1000m
memory: 256Mi
requests:
cpu: 10m
memory: 96Mi
volumeMounts:
- mountPath: /data
name: postgresdb