<div dir="ltr"><div>Hello, Spyros/</div>Thank you for your reply.<div><br></div><div>I executed "kubectl create" command in my openstack controller node.</div><div>I downloaded kubectl binary, it's version is 2.5.1.</div><div><br></div><div>Below are my steps.</div><div>1) install openstack newton by fuel 10.0</div><div>2) install magnum by source (master branch) in controller node</div><div>3) install magnum-client by source in controller node</div><div>4) execute magnum cluster-template-create for kubernetes</div><div>5) execute magnum cluster-create with kubernetes-cluster-template</div><div>6) download kubectl and connect my kubernetes cluster</div><div>7) execute kubectl get nodes, get pods => is normal</div><div>7) finally, kubectl create -f nginx.yaml<br></div><div><br></div><div>But 7th step was failed.</div><div><br></div><div>Best regards.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-17 20:58 GMT+09:00 Spyros Trigazis <span dir="ltr"><<a href="mailto:strigazi@gmail.com" target="_blank">strigazi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 17 May 2017 at 06:25, KiYoun Sung <span dir="ltr"><<a href="mailto:kysung@devstack.co.kr" target="_blank">kysung@devstack.co.kr</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">Hello,<div>Magnum team.<br><div><br></div><div>I Installed Openstack newton and magnum.</div><div>I installed Magnum by source(master branch).</div><div><br></div><div>I have two questions.</div><div><br></div><div>1.</div><div>After installation,</div><div>I created kubernetes cluster and it's CREATE_COMPLETE,</div><div>and I want to create kubernetes pod.</div><div><br></div><div>My create script is below.</div><div>------------------------------<wbr>----------------</div><div><div>apiVersion: v1</div><div>kind: Pod</div><div>metadata:</div><div> name: nginx</div><div> labels:</div><div> app: nginx</div><div>spec:</div><div> containers:</div><div> - name: nginx</div><div> image: nginx</div><div> ports:</div><div> - containerPort: 80</div></div><div>------------------------------<wbr>----------------<br></div><div><br></div><div>I tried "kubectl create -f nginx.yaml"</div><div>But, error has occured.</div><div><br></div><div>Error message is below.</div><div><div>error validating "pod-nginx-with-label.yaml": error validating data: unexpected type: object; if you choose to ignore these errors, turn validation off with --validate=false</div></div><div><br></div><div>Why did this error occur?</div></div></div></blockquote><div><br></div></div></div><div>This is not related to magnum, it is related to your client. From where do you execute the</div><div>kubectl create command? You computer? Some vm with a distributed file system?</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div><div>2. </div><div>I want to access this kubernetes cluster service(like nginx) above the Openstack magnum environment from outside world.</div><div><br></div><div>I refer to this guide(<a href="https://docs.openstack.org/developer/magnum/dev/kubernetes-load-balancer.html#how-it-works" target="_blank">https://docs.openstack.o<wbr>rg/developer/magnum/dev/kubern<wbr>etes-load-balancer.html#how-<wbr>it-works</a>), but it didn't work.</div><div><br></div><div>Openstack: newton</div><div>Magnum: 4.1.1 (master branch)</div><div><br></div><div>How can I do?</div><div>Do I must install Lbaasv2?</div></div></div></blockquote><div><br></div></span><div>You need lbaas V2 with octavia preferably. Not sure what is the recommended way to install.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div><div>Thank you.</div><div>Best regards.</div></div></div></blockquote><div><br></div><div>Cheers,</div><div>Spyros</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
<br></blockquote></div><br></div></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div>