Skip to content

Commit

Permalink
Lower Memory Requests (#94)
Browse files Browse the repository at this point in the history
Server's requests are far too high and prevent scheduling on
relatively constrained platforms.
  • Loading branch information
spjmurray authored Jun 20, 2024
1 parent dc9dc49 commit 981b3c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/kubernetes/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 Kubernetes Service

type: application

version: v0.2.18
appVersion: v0.2.18
version: v0.2.19
appVersion: v0.2.19

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/kubernetes/templates/server/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,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 981b3c8

Please sign in to comment.