Fibre Channel Persistent Volume, does k8s perform all the rescan\mount ops intree?

542 views
Skip to first unread message

Shay Berman

unread,
Sep 14, 2017, 3:00:25 AM9/14/17
to Kubernetes developer/contributor discussion
Hello

If I want to create PV with type FC (Fibre Channel) as I mentioned HERE.

Then in order POD to consume it I create a PVC that bound to this PV.
So now a POD can be created and start uses this PVC.
So my question is : how the PV rescan, mkfs and mounted into the minion happened? 
is there any in-tree logic inside k8s that implement that part (rescan, newfs, mount) or in order to do that we need to built FlexVolume plugin that do all the host side operations?

Thanks
Shay

Hemant Kumar

unread,
Sep 14, 2017, 11:59:32 AM9/14/17
to Shay Berman, Kubernetes developer/contributor discussion
There is a in-tree driver for handling Fiber Channel volumes in Kubernetes and you shouldn't need a FlexVolume plugin.




--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/74a66ead-1348-4ec1-8b1f-b32181da444e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shay Berman

unread,
Sep 16, 2017, 12:13:20 PM9/16/17
to Kubernetes developer/contributor discussion
1. But can I use Dynamic provisioner (PVC with Storage class) and then run a POD that consume this PVC by using the in tree kubernetes FC plugin (if so please send an example)?

2. If I will use the in-tree FC plugin, how the volume will be mapped to the relevant host?  this part is specific for each storage system. 

3. Why not just to create FlexVolume that support my storage system, for attach\detach\mount\umount volume operations?  and it could be used with dynamic provisioner as well.

Thanks



On Thursday, September 14, 2017 at 6:59:32 PM UTC+3, Hemant Kumar wrote:
There is a in-tree driver for handling Fiber Channel volumes in Kubernetes and you shouldn't need a FlexVolume plugin.



On Thu, Sep 14, 2017 at 3:00 AM, Shay Berman <shay...@gmail.com> wrote:
Hello

If I want to create PV with type FC (Fibre Channel) as I mentioned HERE.

Then in order POD to consume it I create a PVC that bound to this PV.
So now a POD can be created and start uses this PVC.
So my question is : how the PV rescan, mkfs and mounted into the minion happened? 
is there any in-tree logic inside k8s that implement that part (rescan, newfs, mount) or in order to do that we need to built FlexVolume plugin that do all the host side operations?

Thanks
Shay

--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-de...@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages