title: How to mount glusterfs volume using nfs in a kubernetes cluster?
body: <p>I have set up a glusterfs cluster, providing volumes for pods in kubernetes. There is no problems when mounting volume in the glusterfs way:</p>
  
  <pre><code>        "volumes": [
          {
              "name": "vol1",
              "glusterfs": {
                  "endpoints": "glusterfs-cluster",
                  "path": "a-gluster-vol"
              }
          }
      ]
  </code></pre>
  
  <p>My question is, can I use the gluster volume in nfs way? Such like</p>
  
  <pre><code> "nfs": {
                  "server": "someaddress",
                  "path": "/a-gluster-vol"
              }
  </code></pre>
  
  <p>The pod is <code>failedMount</code></p>
  
  <pre><code>50s     18s     7   {kubelet kube-node-21}          Warning     FailedMount MountVolume.SetUp failed for volume "kubernetes.io/nfs/818e0668-f7df-11e6-9f69-52540092af07-vol1" (spec.Name: "vol1") pod "818e0668-f7df-11e6-9f69-52540092af07" (UID: "818e0668-f7df-11e6-9f69-52540092af07") with: mount failed: exit status 32
  Mounting command: mount
  Mounting arguments: 192.168.16.180:/nfs /var/lib/kubelet/pods/818e0668-f7df-11e6-9f69-52540092af07/volumes/kubernetes.io~nfs/vol1 nfs []
  Output: mount.nfs: requested NFS version or transport protocol is not supported
  </code></pre>