Customising User Resources
Customising User Resources#
The most import customisation to the JupyterHub will be the compute resources each user pod has access to. This affects what kind of computations can be run in an active Binder instance and the overall cost of running the BinderHub.
We can guarantee each user pod a certain amount of resources and limit them to another value (that is, they could use slightly more than allocated if need be).
We can set the CPU and RAM memory guarantees and limits with the following code snippet in deploy/config.yaml
or deploy/prod.yaml
.
# EXAMPLE VALUES
jupyterhub:
singleuser:
memory:
limit: 1G
guarantee: 1G
cpu:
limit: .5
guarantee: .5