Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
265 views
in Technique[技术] by (71.8m points)

How to manage shared notebooks permissions in zero 2 jupyterhub deployment (kubernetes)?

Im running jupyterhub on kubernetes using the zero 2 jupyterhub chart. Currently i'v got persistent volume that is mounted on each single user server and is used as a shared folder. all users can read from and write to it.

The desired state is to have shared folder that will contain all user's folders in a way that each user has write permissions to his folder only.

Problems are:

  1. All single user pods are run with the same user (jovian) and with the same group
  2. When changing permissions to sub folders of the shared/ folder, permissions are changed in all mounted instances (eg. in all single user pods)

Is there any way to manage these permissions without managing linux users in parallel to jupyterhub user? if there isn't, are there any convenient ways (maybe some open source custom jupyterhub authenticator/single user image)that helps with it?

question from:https://stackoverflow.com/questions/65901023/how-to-manage-shared-notebooks-permissions-in-zero-2-jupyterhub-deployment-kube

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...