minishift / minishift-fedora-iso

Fedora-based Minishift ISO
GNU Lesser General Public License v3.0
6 stars 10 forks source link

Install glusterfs-fuse to allow mounting of Gluster Volumes #12

Open nixpanic opened 5 years ago

nixpanic commented 5 years ago

Gluster is one of the commonly used backends for dynamically provisioned PVCs. In order for pods to use the PVCs, these need to get mounted on the host. The glusterfs-fuse package is needed to provide the mount.glusterfs helper and dependencies.

Please install the glusterfs-fuse package in the fedora.template.

praveenkumar commented 5 years ago

@nixpanic do you see any value addition if we add glusterfs-fuse package for minishift iso side? I mean this is going to be a single node cluster and we use the PV which is created by oc cluster up. If you can provide a use case for this, we can add it. If you want to use current iso then take it from http://artifacts.ci.centos.org/minishift/minishift-centos-iso/pr/11/ .

nixpanic commented 5 years ago

On Mon, Sep 24, 2018 at 01:30:23PM +0000, Praveen Kumar wrote:

@nixpanic do you see any value addition if we add glusterfs-fuse package for minishift iso side? I mean this is going to be a single node cluster and we use the PV which is created by oc cluster up. If you can provide a use case for this, we can add it. If you want to use current iso then take it from http://artifacts.ci.centos.org/minishift/minishift-centos-iso/pr/11/ .

Yes, we have users testing with minikube/minishift if dynamic provisioning with Gluster is suitable for them. It is possible to deploy Gluster on a single-node, it is just not useful for high-availability.

A related change in minikube was merged a while back: https://github.com/kubernetes/minikube/pull/2925

I'm working on an add-on for minikube at the moment. Once the container images support a simpler way of getting deployed, I'll send it as a PR. After that, I plan to do the same thing for minishift.

The centos image does indeed not have the glusterfs-fuse package either. It would be good to add it there as well. That needs a 2-step installation process though:

  1. yum install centos-release-gluster
  2. yum install glusterfs-fuse