properly set requests and limits for the deployment
This commit is contained in:
parent
cee4b2a8bc
commit
ac845b5073
4 changed files with 54 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue