Hello. I am curious if anyone else has the dynamically allocated pvc’s working for each users notebook on later versions of eks such as 1.25. I am using the binderhub chart version 0.2.0-n1011.hb49edf6. I cannot seem to get this working with the below configuration. I noticed that the hub-db-dir one gets created on install with no problem.
From my helm vars:
singleuser:
cmd: jupyterhub-singleuser
defaultUrl: "/lab"
extraEnv:
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp"
storage:
# dynamic:
# storageClass: gp2
capacity: 100Gi
and my storage class
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"},"name":"gp2"},
"parameters":{"fsType":"ext4","type":"gp2"},"provisioner":"kubernetes.io/aws-ebs","volumeBindingMode":"WaitForFirstConsumer"}
storageclass.kubernetes.io/is-default-class: "true"
creationTimestamp: "2023-03-09T02:35:19Z"
name: gp2
parameters:
fsType: ext4
type: gp2
provisioner: kubernetes.io/aws-ebs
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer