Does Flexvolume support Dynamic provisioning with CephFS

40 views
Skip to first unread message

Maruthi Prasad

unread,
Sep 3, 2020, 8:29:24 AM9/3/20
to rook-dev
Does Flexvolume support Dynamic provisioning with CephFS

With FlexVolume i am able to mount the cephFs (the whole of it)

how do i configure dynamic volume provisioning for the end users, i do not have CSI currently installed on the k8s cluster. so wondering if flex has the capability of dynamic provisioning of PV  which can be mounted as readwritemany

Travis Nielsen

unread,
Sep 8, 2020, 1:45:41 PM9/8/20
to Maruthi Prasad, rook-dev
No, the flex volume doesn’t support dynamic provisioning of the volumes, though you can mount a subpath of cephfs.

Travis

--
You received this message because you are subscribed to the Google Groups "rook-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rook-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rook-dev/affeac3b-8e39-4a6b-952a-a84e6513c978n%40googlegroups.com.

Maruthi Prasad

unread,
Sep 9, 2020, 7:31:00 AM9/9/20
to rook-dev
I have been trying to use csi , and there is a PV which gets dynamically provisioned, but unable to mount when i call it in the POD yaml , why do the nodes do not recognize the CSI drivers? the ceph version we have is 1.1.9, is there something specific that needs to be enable for the driver to propagate to the worker nodes ?

kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name rook-ceph-system.cephfs.csi.ceph.com not found in the list of registered CSI drivers   


Events:

  Type     Reason       Age                     From                               Message

  ----     ------       ----                    ----                               -------

  Warning  FailedMount  59m (x227 over 45h)     kubelet, <worker-node> Unable to attach or mount volumes: unmounted volumes=[pvc], unattached volumes=[default-token-r889t pvc]: timed out waiting for the condition

  Warning  FailedMount  9m13s (x986 over 46h)   kubelet, <worker-node>  Unable to attach or mount volumes: unmounted volumes=[pvc], unattached volumes=[pvc default-token-r889t]: timed out waiting for the condition

  Warning  FailedMount  3m43s (x1365 over 46h)  kubelet, <worker-node>  MountVolume.MountDevice failed for volume "pvc-39122d0b-2e1e-42c4-8290-17604c74eb0e" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name rook-ceph-system.cephfs.csi.ceph.com not found in the list of registered CSI drivers 

 




Travis Nielsen

unread,
Sep 9, 2020, 1:49:13 PM9/9/20
to Maruthi Prasad, rook-dev
What version of rook are you using? 1.1.9? That is very old. I’d suggest installing the latest version of rook (v1.4.2) for testing. For a quicker discussion for this issue, you can also join the Rook Slack.

Reply all
Reply to author
Forward
0 new messages