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.