Skip to content

Commit

Permalink
reduce resource config
Browse files Browse the repository at this point in the history
move common config out of environmentConfig
  • Loading branch information
nilsgstrabo committed Sep 27, 2024
1 parent 454c678 commit efc64cc
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions radixconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,17 @@ spec:
publicPort: http
runtime:
architecture: arm64
resources:
requests:
memory: 25M
cpu: 10m
volumeMounts:
- name: tmp
path: /tmp
emptyDir:
sizeLimit: 10M
environmentConfig:
- environment: qa
resources:
requests:
memory: "150Mi"
cpu: "10m"
limits:
memory: "150Mi"
cpu: "1000m" # docusaurus use a lot of cpu during startup/init
volumeMounts:
- name: tmp
path: /tmp
emptyDir:
sizeLimit: 10M
horizontalScaling:
maxReplicas: 1
minReplicas: 0
Expand All @@ -47,16 +44,3 @@ spec:
desiredReplicas: 1
- environment: prod
replicas: 2
resources:
requests:
memory: "150Mi"
cpu: "10m"
limits:
memory: "150Mi"
cpu: "1000m" # docusaurus use a lot of cpu during startup/init
volumeMounts:
- name: tmp
path: /tmp
emptyDir:
sizeLimit: 10M

0 comments on commit efc64cc

Please sign in to comment.