Skip to content

Commit

Permalink
Merge pull request #3377 from consideRatio/pr/tune-leap-requests-limits
Browse files Browse the repository at this point in the history
leap and carbonplan: tune hub/proxy pods' requests/limits
  • Loading branch information
consideRatio authored Nov 6, 2023
2 parents 9f10dca + ae45c89 commit 668a272
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
10 changes: 5 additions & 5 deletions config/clusters/carbonplan/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,19 @@ basehub:
chp:
resources:
requests:
cpu: 0.5
cpu: 100m
memory: 256Mi
limits:
cpu: 1
memory: 4Gi
memory: 512Mi
hub:
resources:
requests:
cpu: 0.5
memory: 256Mi
cpu: 100m
memory: 512Mi
limits:
cpu: 1
memory: 4Gi
memory: 1Gi
allowNamedServers: true
config:
JupyterHub:
Expand Down
20 changes: 13 additions & 7 deletions config/clusters/leap/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,24 @@ basehub:
chp:
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 1
memory: 1Gi
singleuser:
extraEnv:
SCRATCH_BUCKET: gs://leap-scratch/$(JUPYTERHUB_USER)
PERSISTENT_BUCKET: gs://leap-persistent/$(JUPYTERHUB_USER)
PANGEO_SCRATCH: gs://leap-scratch/$(JUPYTERHUB_USER)
memory: 512Mi
hub:
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 1
memory: 2Gi
memory: 1Gi
config:
GitHubOAuthenticator:
oauth_callback_url: https://leap.2i2c.cloud/hub/oauth_callback
singleuser:
extraEnv:
SCRATCH_BUCKET: gs://leap-scratch/$(JUPYTERHUB_USER)
PERSISTENT_BUCKET: gs://leap-persistent/$(JUPYTERHUB_USER)
PANGEO_SCRATCH: gs://leap-scratch/$(JUPYTERHUB_USER)

0 comments on commit 668a272

Please sign in to comment.