Skip to content

Commit

Permalink
Lower Memory Requests
Browse files Browse the repository at this point in the history
Region's requests are far too high and prevent scheduling on
relatively constrained platforms.
  • Loading branch information
spjmurray committed Jun 20, 2024
1 parent f67966e commit b1a07a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/region/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: A Helm chart for deploying Unikorn's Region Controller

type: application

version: v0.1.15
appVersion: v0.1.15
version: v0.1.16
appVersion: v0.1.16

icon: https://raw.githubusercontent.com/unikorn-cloud/assets/main/images/logos/dark-on-light/icon.png

Expand Down
6 changes: 2 additions & 4 deletions charts/region/templates/region-controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ spec:
containerPort: 8080
- name: pprof
containerPort: 6060
# Note, this is quite CPU intensive, especially when going wide!
# TODO: profile me.
resources:
requests:
cpu: "1"
cpu: "50m"
memory: 50Mi
limits:
cpu: "2"
cpu: "100m"
memory: 100Mi
securityContext:
readOnlyRootFilesystem: true
Expand Down

0 comments on commit b1a07a6

Please sign in to comment.