Tried to add additional static nfs pvc to be mounted on the pods however it does seem to work
kubectl get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE nfs-pv 1Gi RWX Retain Bound default/nfs-pvc manual 54m
kubectl get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE nfs-pvc Bound nfs-pv 1Gi RWX manual 52m
kubectl get pods -A phub continuous-image-puller-8mggl 1/1 Running 0 5d4h phub continuous-image-puller-rndpl 1/1 Running 0 5d4h phub hub-6cc4f4c595-bljc9 1/1 Running 0 48m phub jupyter-des 1/1 Running 0 47m phub jupyter-raymond 1/1 Running 0 42m phub proxy-747cffc6db-9n9qp 1/1 Running 0 21h phub user-scheduler-fdddf9b65-t9msx 1/1 Running 0 14d phub user-scheduler-fdddf9b65-zcftr 1/1 Running 5 14d
apiVersion: v1 kind: PersistentVolume metadata: name: nfs-pv labels: name: mynfs # name can be anything spec: storageClassName: manual # same storage class as pvc capacity: storage: 1Gi accessModes: - ReadWriteMany nfs: server: 10.10.0.243 # ip addres of nfs server path: "/share" # path to directory -- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: nfs-pvc spec: storageClassName: manual accessModes: - ReadWriteMany # must be the same as PersistentVolume resources: requests: storage: 1Gi
singleuser: storage: capacity: 2G extraVolumes: - name: jupyterhub-shared persistentVolumeClaim: claimName: nfs-pvc extraVolumeMounts: - name: jupyterhub-shared mountPath: /home/shared
it does not seem to appear on /home/shared on the individual user pods… what am i doing wrong?