<div dir="ltr">Hi Bishoy,<div><br></div><div>Adding Talur who can help address your queries on Heketi.</div><div><br></div><div>@wattsteve's github repo on glusterfs-kubernetes is a bit dated. You can either refer to gluster/gluster-kubernetes or heketi/heketi for current documentation and operational procedures.</div><div><br></div><div>Regards,</div><div>Vijay</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 21, 2017 at 2:19 AM, Bishoy Mikhael <span dir="ltr"><<a href="mailto:b.s.mikhael@gmail.com" target="_blank">b.s.mikhael@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm trying to deploy Gluster and Heketi on a Kubernetes cluster</div><div>I'm following the guide at <a href="https://github.com/gluster/gluster-kubernetes/" target="_blank">https://github.com/gluster/<wbr>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" target="_blank">github.com/heketi/heketi/<wbr>executors/kubeexec/kubeexec.<wbr>go:125</a>: Namespace must be provided in configuration: File /var/run/secrets/<a href="http://kubernetes.io/serviceaccount/namespace" target="_blank">kubernetes.<wbr>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" target="_blank">github.com/heketi/heketi/<wbr>apps/glusterfs/app.go:85</a>: Namespace must be provided in configuration: File /var/run/secrets/<a href="http://kubernetes.io/serviceaccount/namespace" target="_blank">kubernetes.<wbr>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" target="_blank">https://github.com/heketi/<wbr>heketi/wiki/Kubernetes-<wbr>Integration</a><br></div><div><a href="https://github.com/wattsteve/glusterfs-kubernetes" target="_blank">https://github.com/wattsteve/<wbr>glusterfs-kubernetes</a><br></div><div><br></div><div>Which one to follow?!</div><div><br></div><div>Also I've created a topology file as noted by one of the documentation, but I don't know how to provide it to heketi.</div><div><br></div><div>Regards,</div><div>Bishoy Mikhael</div></div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div>