Hello,
I installed a K8s using the kubeadm way on my own cluster 8VMs: 2 haproxy (LB with keepalived), 3 masters, 3 slaves and a local registry. I installed helm, and everything seems to work well
Unfortunately, dynamic provisioning failed. Even if the tutorial explains that the provisioner will create the persistent volume, I created the storage class and the persistent volume claim, but the persistent volume claim remains pending. I tried to create the storage class as default and "not default", with the same result.
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
persistentvolumeclaim/pvc1 Pending managed-nfs-storage 8h
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
storageclass.storage.k8s.io/managed-nfs-storage (default) registry/nfsVol Delete Immediate false 8h
I missed probably something important.
Thanks for any hint.
Henri
Hello, I installed a K8s using the kubeadm way on my own cluster 8VMs: 2 haproxy (LB with keepalived), 3 masters, 3 slaves and a local registry. I installed helm, and everything seems to work well
The next step was to add persistent storage. I followed this very precise tutorial: https://blog.exxactcorp.com/deploying-dynamic-nfs-provisioning-in-kubernetes/.My external NFS server is working, and reachable from any node.
The nfs-client-provisioner seems to be ok:
the "rbac.yaml" has been created:
Unfortunately, dynamic provisioning failed. Even if the tutorial explains that the provisioner will create the persistent volume, I created the storage class and the persistent volume claim, but the persistent volume claim remains pending. I tried to create the storage class as default and "not default", with the same result.
I missed probably something important. Thanks for any hint. Henri