diff --git a/k8s/postgres-deployment.yml b/k8s/postgres-deployment.yml index 52ca80e..e64ec35 100644 --- a/k8s/postgres-deployment.yml +++ b/k8s/postgres-deployment.yml @@ -38,11 +38,11 @@ spec: # value: /var/lib/postgresql_custom/data/pgdata resources: requests: - memory: "500Mi" - cpu: "250m" + memory: "100Mi" + cpu: "100m" limits: - memory: "1Gi" - cpu: "500m" + memory: "200Mi" + cpu: "200m" startupProbe: # Ensures that the application has enough time to start up before the liveness or readiness checks start. exec: command: diff --git a/k8s/twoge-deployment.yml b/k8s/twoge-deployment.yml index 2048640..cb773e0 100644 --- a/k8s/twoge-deployment.yml +++ b/k8s/twoge-deployment.yml @@ -20,11 +20,11 @@ spec: image: slamoureux/twoge:latest resources: requests: + memory: "50Mi" + cpu: "50m" + limits: memory: "100Mi" cpu: "100m" - limits: - memory: "200Mi" - cpu: "200m" env: - name: DB_USER valueFrom: