<div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to deploy Gluster and Heketi on a Kubernetes cluster</div><div>I&#39;m following the guide at <a href="https://github.com/gluster/gluster-kubernetes/">https://github.com/gluster/gluster-kubernetes/</a></div><div>but the video referenced in the page is showing json files used while the git repo has only yaml files, they are quiet similar though, but Gluster is a deployment not a DaemonSet.</div><div><br></div><div>I deploy Gluster DaemonSet successfully, but heketi is giving me the following error:</div><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"># kubectl logs deploy-heketi-930916695-np4hb</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Heketi v4.0.0-8-g9372c22-release-4</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[kubeexec] ERROR 2017/07/21 06:08:52 /src/<a href="http://github.com/heketi/heketi/executors/kubeexec/kubeexec.go:125">github.com/heketi/heketi/executors/kubeexec/kubeexec.go:125</a>: Namespace must be provided in configuration: File /var/run/secrets/<a href="http://kubernetes.io/serviceaccount/namespace">kubernetes.io/serviceaccount/namespace</a> not found</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[heketi] ERROR 2017/07/21 06:08:52 /src/<a href="http://github.com/heketi/heketi/apps/glusterfs/app.go:85">github.com/heketi/heketi/apps/glusterfs/app.go:85</a>: Namespace must be provided in configuration: File /var/run/secrets/<a href="http://kubernetes.io/serviceaccount/namespace">kubernetes.io/serviceaccount/namespace</a> not found</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">ERROR: Unable to start application</span></p></div><div><br></div><div>What am I doing wrong here?!</div><div><br></div><div>I found more than one source for documentation about how to use Gluster as a persistent storage for kubernetes, some of them are:</div><div><a href="https://github.com/heketi/heketi/wiki/Kubernetes-Integration">https://github.com/heketi/heketi/wiki/Kubernetes-Integration</a><br></div><div><a href="https://github.com/wattsteve/glusterfs-kubernetes">https://github.com/wattsteve/glusterfs-kubernetes</a><br></div><div><br></div><div>Which one to follow?!</div><div><br></div><div>Also I&#39;ve created a topology file as noted by one of the documentation, but I don&#39;t know how to provide it to heketi.</div><div><br></div><div>Regards,</div><div>Bishoy Mikhael</div></div>