Hi, hopefully a quick one:
After setting up the basics by following Z2JH, I set up a google filestore volume as a fileshare. It gets mounted at /home/jovyan/shared
. However, it appears to be read-only since I’m getting Permission denied: shared/Untitled.ipynb
when I log in and try to create a notebook in the folder.
The entry in config.yaml is
singleuser:
storage:
extraVolumes:
- name: jupyterhub-shared
persistentVolumeClaim:
claimName: fileserver-claim
extraVolumeMounts:
- name: jupyterhub-shared
mountPath: /home/jovyan/shared
I create the pv with
apiVersion: v1
kind: PersistentVolume
metadata:
name: fileserver
namespace: jhub
spec:
capacity:
storage: 1T
accessModes:
- ReadWriteMany
nfs:
path: /if_hub_share
server: x.x.x.x
and the pvc with
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: fileserver-claim
namespace: jhub
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
resources:
requests:
storage: 1T