I am trying to provision PV with RBD using https://github.com/kubernetes/kubernetes/tree/release-1.7/examples/persistent-volume-provisioning/rbd
But I have faced an issue when my PVC is in Pending state without any meaningful log
root@ubuntu:~# kubectl describe pvc
Name: claim1
Namespace: default
StorageClass: fast
Status: Pending
Volume:
Labels: <none>
Annotations: volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/rbd
Capacity:
Access Modes:
Events: <none>
It seems you don't have volume defined in your pvc :
I got the problem also if the volumeName is not correct or if it doesn't exist. Indeed, there are no logs or events that show the problem.
If all is working fine, the status should be :
Status: Bound
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With