Skip to content

Commit

Permalink
changed resource limits
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanlamoureux committed Feb 10, 2024
1 parent 5594d4c commit 565f117
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions k8s/postgres-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions k8s/twoge-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 565f117

Please sign in to comment.