properly set requests and limits for the deployment
All checks were successful
Build and Deploy Staging / build (push) Successful in 39s
Build and Deploy Staging / deploy (push) Successful in 7s

This commit is contained in:
Tobias Brunner 2025-12-11 17:11:06 +01:00
parent cee4b2a8bc
commit ac845b5073
Signed by: tobru
SSH key fingerprint: SHA256:kOXg1R6c11XW3/Pt9dbLdQvOJGFAy+B2K6v6PtRWBGQ
4 changed files with 54 additions and 7 deletions

View file

@ -32,10 +32,3 @@ spec:
secretKeyRef:
name: portal-storage-creds
key: AWS_SECRET_ACCESS_KEY
resources:
limits:
cpu: 2
memory: 2Gi
requests:
cpu: 500m
memory: 512Mi

View file

@ -7,6 +7,13 @@ spec:
spec:
containers:
- name: servala
resources:
requests:
cpu: 250m
memory: 1Gi
limits:
cpu: 1
memory: 2Gi
env:
- name: SERVALA_ENVIRONMENT
value: staging
@ -34,6 +41,13 @@ spec:
key: AWS_SECRET_ACCESS_KEY
- name: ssh-tunnel-dev
image: servala.app.codey.ch/servala/servala-portal:latest
resources:
requests:
cpu: 50m
memory: 204Mi
limits:
cpu: 100m
memory: 256Mi
command:
- "/bin/bash"
- "-c"
@ -57,6 +71,13 @@ spec:
key: ssh-private-key
- name: ssh-tunnel-talos
image: servala.app.codey.ch/servala/servala-portal:latest
resources:
requests:
cpu: 50m
memory: 204Mi
limits:
cpu: 100m
memory: 256Mi
command:
- "/bin/bash"
- "-c"