Z2JH Hot to change NB_UID/NB_GID using authenticator_class?

Hi @hiroyuki-sato
I have same problem about jupyter on k8s. please me some advise
image: Quay
singleuser:
cmd: # ← here i leave it blank.
when ldap user login . use command “id” show jovyan.

in the offical jupyter/scipy-notebook

Switch to Quay, and use a tag from 2024-02-xx or later, then singleuser.cmd won’t change the outcome - you will be able to chance the user id no matter what.

The docker hub images aren’t getting updates any more.

See GitHub - jupyter/docker-stacks: Ready-to-run Docker images containing Jupyter applications for details about using quay.io now

Hello, @consideRatio

Thank you for your information. It meant If I use Quay and 2024-02-xx later, I don’t need singleuser.cmd parameter. correct?

@edp Did you set NB_USER parameter?

1 Like

Thanks for you reply. @hiroyuki-sato @consideRatio
Post 2 Pic, a little bit human readable


1

The First image is my helm value.yml configuration.
The Second image is our ldap server user alice information.
Now, Below Config can change to /home/alice .but can’t change uid/gid.

I have a feeling that notebook server never started due to absence of --allow-root in spawner args.