det-lab / jupyterhub-deploy-kubernetes-jetstream

CDMS JupyterHub deployment on XSEDE Jetstream
0 stars 1 forks source link

All but 2 nodes are unavailable #55

Closed zkromerUCD closed 3 years ago

zkromerUCD commented 3 years ago

When trying to start with a default server configuration, I get this error, and the loading for the server stalls: 2021-03-18T00:02:34.528016Z [Warning] 0/2 nodes are available: 2 Insufficient cpu.

Amy checked the admin panel, and nobody else seems to be using any nodes.

zonca commented 3 years ago

yes, sorry, I didn't realize that the medium instances that we are using now to save resources have only 6 CPUs and I was requesting 5 of them for the "Default" configuration. This is the reason for this error. Now I have setup the Default configuration to have only 2 CPU which are guaranteed, but the limit is 6 CPUs, so that if there is extra availability, your pod can use it. So this should be fixed now.

So now we should be able to fit 2 users per node, for a total of 4 users using the default configuration using 5 GB and 2-6 CPUs. And twice that in the Tiny configuration.

@pibion Do you think it would be useful to have a "Medium" configuration with 10GB of RAM and 4 CPUs?

zonca commented 3 years ago

See the current configuration in:

https://github.com/det-lab/jupyterhub-deploy-kubernetes-jetstream/blob/47f807ac2233094f7e36b9b5de6c8b71bb996ccf/config_standard_storage.yaml#L30-L51