This demonstrates making a volume available in a kubernetes pod through the use of a FlexVolume plugin and the kernel’s kafs.

It requires that the cluster nodes have a kernel built with kafs support, and have the kafs FlexVolume installed. The volume does not need to be mounted when the pod is created, and does not need to have a mountpoint anywhere in the distributed namespace. The requested volume will be mounted with a single volume mount, and unmounted when the pod is deleted.