title: Adding new glusterfs StorageClass to Kubernetes?
body: <p>I set up GlusterFS storage on two VirtualBox VMs following a mixture of these two guides:</p>
  
  <p><a href="https://wiki.centos.org/HowTos/GlusterFSonCentOS" rel="nofollow noreferrer">https://wiki.centos.org/HowTos/GlusterFSonCentOS</a></p>
  
  <p><a href="http://docs.gluster.org/en/latest/Quick-Start-Guide/Quickstart/" rel="nofollow noreferrer">http://docs.gluster.org/en/latest/Quick-Start-Guide/Quickstart/</a></p>
  
  <p>The internal network has DHCP assigned IPs of 10.10.10.4 and 10.10.10.5. I've verified that the storage is working correctly and as expected.</p>
  
  <p>At this point, I'm attempting to add a new StorageClass to Kubernetes using a YAML file, and the only resources I can find on the subject are relating to OpenShift specifically or Heketi GlusterFS.</p>
  
  <p>I started creating the storage class as follows:</p>
  
  <pre><code># storage-class.yml
  apiVersion: storage.k8s.io/v1beta1
  kind: StorageClass
  metadata:
    name: gluster-container
  provisioner: kubernetes.io/glusterfs
  parameters:
    resturl: "10.10.10.5"
  </code></pre>
  
  <p>I'm assuming this is incomplete but am unable to find more information about how to configure this. When I attempt to test with it, I get the following error:</p>
  
  <pre><code>ProvisioningFailed - Failed to provision volume with StorageClass "gluster-container": create volume error: error creating volume Post 10.10.10.5/volumes: unsupported protocol scheme ""
  </code></pre>
  
  <p>Anyone have any ideas how to proceed from here?</p>