Different resource limits for different user groups

Hello, I want to deploy Jupyterhub on kubernetes and have different resource limits defined for different group of users. Is this possible?

Thanks!

It’ll require some testing, but I think you can do it using a pre_spawn_start to modify the spawner parameters. There’s an example of modifying spawner.environment in

but you should be able to modify other KubeSpawner properties, such as the resource limits.

1 Like

Hi, you have an example how that can be achieved?

We need to have the ability to define for each group resource limits so they will not take resources from other groups