I am using 3 aws EC-2 instances[t2.medium]. Helm version-v3.5.2. My hub pod remains in pending state. when I describe the pod it gives the following error
kubectl describe pod hub-5b8d96f64b-qk86l -n jhub
Events:
Type Reason Age From Message
Warning FailedScheduling 55s (x11 over 11m) default-scheduler 0/3 nodes are available: 3 pod has unbound immediate PersistentVolumeClaims.
When I describe the pvc it gives
kubectl describe pvc hub-db-dir -n jhub
Name: hub-db-dir
Namespace: jhub
StorageClass:
Status: Pending
Volume:
Labels: app=jupyterhub
app.kubernetes.io/managed-by=Helm
chart=jupyterhub-0.10.6
component=hub
heritage=Helm
release=jhub
Annotations: meta.helm.sh/release-name: jhub
meta.helm.sh/release-namespace: jhub
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Mounted By: hub-5b8d96f64b-qk86l
Events:
Type Reason Age From Message
Normal FailedBinding 3m23s (x782 over 3h18m) persistentvolume-controller no persistent volumes available for this claim and no storage class is set
I am new to kubernetes and I’ve been stuck at the same point for few days can anyone please help me how to set the storage class and pv to hub-db-dir pvc