Commit 7d8ffd60 authored by Craig Russell's avatar Craig Russell
Browse files

K8s locks a pv to a pvc, lazy fix for now

parent e79813c9
......@@ -20,7 +20,17 @@ jupyterhub:
hosts:
- ""
- localhost
# singleuser:
singleuser:
storage:
type: none
extraVolumes:
- name: nfs-bs-ftp
persistentVolumeClaim:
claimName: nfs-bs-ftp-pvc
extraVolumeMounts:
- name: nfs-bs-ftp
mountPath: /home/jovyan/biostudies
# # readOnly: true
# profileList:
# - display_name: "GPU Server"
# description: "Spawns a notebook server with access to a GPU"
......
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs-bs-ftp-pv-binderhub
spec:
storageClassName: nfs
capacity:
storage: 1Gi
accessModes:
- ReadOnlyMany
nfs:
# path: /tmp
# server: 172.17.0.2
server: 10.35.105.251 # Change this!
path: "/fg_biostudies/.adm/databases/prod/submission/ftp/"
readOnly: true
# claimRef:
# name: nfs-bs-ftp-pvc
# persistentVolumeReclaimPolicy:
# Recycle
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "nfs-bs-ftp-pvc"
spec:
storageClassName: nfs
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 1Gi
volumeName: "nfs-bs-ftp-pv-binderhub"
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs-bs-ftp-pv-jupyterhub
spec:
storageClassName: nfs
capacity:
storage: 1Gi
accessModes:
- ReadOnlyMany
nfs:
# path: /tmp
# server: 172.17.0.2
server: 10.35.105.251 # Change this!
path: "/fg_biostudies/.adm/databases/prod/submission/ftp/"
readOnly: true
# claimRef:
# name: nfs-bs-ftp-pvc
# persistentVolumeReclaimPolicy:
# Recycle
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "nfs-bs-ftp-pvc"
spec:
storageClassName: nfs
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 1Gi
volumeName: "nfs-bs-ftp-pv-jupyterhub"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment