Team, I am new to kubespawner and was trying to add environment variables so that notebook can utilize GPU. The environment variables come from config map gpu-env which exists. I added following line under Spawner Options in jupyter_config.py and restarted jupyter pod and then tried to create a new user notebook which spawned the notebook successfully but it did not pick up the environment variables from gpu-env configmap. May be I am missing a step here. I could not find anything in the logs.
Team, I am new to kubespawner and was trying to add environment variables so that notebook can utilize GPU. The environment variables come from config map gpu-env which exists. I added following line under Spawner Options in jupyter_config.py and restarted jupyter pod and then tried to create a new user notebook which spawned the notebook successfully but it did not pick up the environment variables from gpu-env configmap. May be I am missing a step here. I could not find anything in the logs.
jupyter_config.py Snippet (it is part of config map jupyter-config):