-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExtraVolumes and ExtraVolumeMounts for Configmap not working with singleuser #3579
Comments
Didnt you get a schema validation error from this? Are you using a packaged chart (recommended) or one from this git repository directly (not with a schema without manual action). It seems singleuser.extraVolumes wasn't defined as i though, but you can do hub.config.KubeSpawner.extra_volumes and .extra_volume_mounts i think. This is a kubespawner config, and singleuser. typically is just configuring kubespawner as well as you can do directly via hub.config.KubeSpawner. |
Thanks @consideRatio
Moreover, I also added configmap.yaml in singleuser folder
When installing chart, configmap was created and mounted to hub pod. But with singleuser pod, it wasn't be mounted
I tried this way. However, when single pod started, spark-magic-config in configmap wasn't be mounted
|
It ahould be extra_volumes when you put something under hub.config.KubeSpawner, and you can use KubeSpanwer documentation of what you configure etc. |
Hi,
I want to mount a configmap sparkmagic config to singleuser pod but it doesn't work for me.
I created a configmap file, tried to mount it into a hub pod, and found the config file of spark magic.
However, in singleuser pod, I realized that it doesn't be mounted
singleuser in values.yaml:
hub in values.yaml:
And I described notebook pod, it's none
Can you share with me some recommendations for this problem?
The text was updated successfully, but these errors were encountered: