Skip to content

Commit

Permalink
redis: reduce CPU requests on staging (#1869)
Browse files Browse the repository at this point in the history
* redis: reduce CPU requests on staging

* Update helmfile config
  • Loading branch information
AndrewKostka authored Nov 26, 2024
1 parent b4a78e6 commit f1908d2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
5 changes: 2 additions & 3 deletions k8s/argocd/staging/redis-2.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ master:
subPath: ""
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 500m
cpu: 100m
memory: 500Mi
redisPort: 6379
replica:
Expand All @@ -45,7 +44,7 @@ replica:
limits:
memory: 250Mi
requests:
cpu: 500m
cpu: 100m
memory: 250Mi
sentinel:
enabled: false
4 changes: 2 additions & 2 deletions k8s/argocd/staging/redis.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ master:
limits:
memory: 500Mi
requests:
cpu: 500m
cpu: 100m
memory: 500Mi
redisPort: 6379
replica:
Expand All @@ -44,7 +44,7 @@ replica:
limits:
memory: 250Mi
requests:
cpu: 500m
cpu: 100m
memory: 250Mi
sentinel:
enabled: false
16 changes: 15 additions & 1 deletion k8s/helmfile/env/staging/redis.values.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# staging uses production configuration so this is an empty file
master:
resources:
limits:
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi

replica:
resources:
limits:
memory: 250Mi
requests:
cpu: 100m
memory: 250Mi

0 comments on commit f1908d2

Please sign in to comment.