<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 10, 2017 at 3:24 PM, James Strachan <span dir="ltr"><<a href="mailto:jstracha@redhat.com" target="_blank">jstracha@redhat.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">Agreed. BTW 'minikube service foo` seems to work fine upstream on minikube for services with nodeports - haven't tested on ingress yet (and route isn't possible I suspect on minikube?)</div></blockquote><div><br></div><div>No that's my point: the fact that we learned from minishift that users would want to see routes in `minishift service` should IMO have translated into contributing similar functionality upstream first to add ingress to the current nodeport  output. Minishift would then add routes to output, but still the command `minishift service` would have been almost consistent in behaviour to `minikube service`, with that one difference around routes.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 3:19 PM, Jimmi Dyson <span dir="ltr"><<a href="mailto:jdyson@redhat.com" target="_blank">jdyson@redhat.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"><div class="gmail_extra"><div class="gmail_quote"><span>On Wed, May 10, 2017 at 2:57 PM, James Strachan <span dir="ltr"><<a href="mailto:jstracha@redhat.com" target="_blank">jstracha@redhat.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">changing "minikube service" to "minishift openshift service" doesn't seem to make any sense from a UX perspective to me at least. minishift commands always work with openshift as it is ;) <div><br></div><div>looking up a service isn't openshift specific - its working with kubernetes resources (which may or may not have associated openshift resources).</div></div></blockquote><div><br></div></span><div>Totally agree. This should have remained `minishift service`, looking up service URLs via route, ingress and node port. I would have expected that to be contributed upstream whch would only look at ingress and node port.</div><div><br></div><div>One of the defining goals of minishift was to make the transition from minikube to minishift easy. Keeping commands consistent is key to that. I'm not contributing to minishift any more, busy with other things..., but I would hope that the minishift team is contributing to minikube too - guide minikube in line with what for minishift would be a win for everyone IMO.</div><div><div class="m_3652950767813489865h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683HOEnZb"><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 2:44 PM, Lalatendu Mohanty <span dir="ltr"><<a href="mailto:lmohanty@redhat.com" target="_blank">lmohanty@redhat.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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, May 10, 2017 at 5:11 PM, James Strachan <span dir="ltr"><<a href="mailto:jstracha@redhat.com" target="_blank">jstracha@redhat.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">or let me say that differently - lets try be as similar to minikube as we can?</div><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975HOEnZb"><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975h5"><div class="gmail_extra"><br></div></div></div></blockquote><div><br></div></span><div>Sure, thats the general idea/guideline. But then we have some sub-commands which is under openshift command and we moved the service command under OpenShift (after fixing it for OpenShift) and put it with other sub-commands which should be logically grouped together. <br><br></div><div>Even if we want to keep things similar to Minikube as we want to cater folks coming from Minikube to Minishift but  we need to do things which make sense logically, otherwise Minishift will result in to a project without a definite character. <br><br></div><div>Thanks,<br></div><div>Lala<br></div><div><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620h5"><div><br><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975HOEnZb"><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975h5"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 10, 2017 at 12:40 PM, James Strachan <span dir="ltr"><<a href="mailto:jstracha@redhat.com" target="_blank">jstracha@redhat.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">I thought it did - but didn't see it in "minishift help" - wonder why we hid the "service" commend behind "openshift"? Its more typing for a start?<div><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 12:38 PM, Praveen Kumar <span dir="ltr"><<a href="mailto:prkumar@redhat.com" target="_blank">prkumar@redhat.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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, May 10, 2017 at 4:59 PM, James Strachan <span dir="ltr"><<a href="mailto:jstracha@redhat.com" target="_blank">jstracha@redhat.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">FWIW gofabric8 has a 'gofabric8 service foo' which shows the URL to access a service via its route / nodeport / ingress etc. Its pretty simple code; we use something similar in funktion (funktion url foo)<div><br></div><div>Maybe we need to add the service command to minishift too?<br></div></div></blockquote><div><br></div></span><div>minishift already have service command in place check `minishift openshift service -h` which will show the route url for a deployed app for a specific namespace.<br></div><div><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563h5"><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></div><div class="gmail_extra"><div><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266h5"><br><div class="gmail_quote">On Wed, May 10, 2017 at 12:08 PM, Burr Sutter <span dir="ltr"><<a href="mailto:bsutter@redhat.com" target="_blank">bsutter@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>What is the trick to always get a nodeport for every Service I create? </div><div>Right now, I do need the oc binary INSIDE the VM because I like to show that Services are normally in-VM only and Routes make them visible to the outside world (my laptops OS)</div><div><br></div><div>But I can likely make the same point with nodeport</div><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266m_4458630405387822699HOEnZb"><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266m_4458630405387822699h5"><div><br></div><div><br><div class="gmail_quote"><div>On Wed, May 10, 2017 at 4:52 AM Praveen Kumar <<a href="mailto:prkumar@redhat.com" target="_blank">prkumar@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_extra"><div class="gmail_quote">On Wed, May 10, 2017 at 9:15 AM, Gerard Braad <span><<a href="mailto:gbraad@redhat.com" target="_blank">gbraad@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span><br>
On Wed, May 10, 2017 at 2:58 AM, Lalatendu Mohanty <<a href="mailto:lmohanty@redhat.com" target="_blank">lmohanty@redhat.com</a>> wrote:<br>
> Sure will do. With CDK 3 we do not have Kubernetes bits in the ISO/VM e.g.<br>
> kubectl binary. So we need to figure out if it is just the extra kubectl we<br>
> need or something else.<br>
<br>
</span>`kubectl` should be treated like `oc`, and should therefore not be<br>
part of the ISO/VM for Minishift/CDK 3?<br></blockquote><div><br></div></div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><div>Adding `kubectl` binary to iso shouldn't be intention but it should be treated like 'oc'. We are already advertising openshift as enterprise ready kubernetes so kube related stuff should work as expected IMO.<br></div></div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
However, reading the instructions, this behaviour is also different for `oc`<br>
<br>
<br>
rhel-ose$ vagrant ssh<br>
#Inside CDK shell - Create a Kubernetes context - We will use the<br>
OpenShift Client (oc) as as shortcut<br>
[vagrant@rhel-cdk ~]$ oc login -u openshift-dev -p devel<br>
<br>
<br>
which means that `oc` is on the path inside the VM. is this still the<br>
case for CDK 3.x?<br></blockquote><div><br></div></div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><div>No, we did this for CDK-2.x because it was required to provision openshift inside the VM but right now we are using client binary outside VM to provision it.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
WDYT?<br>
<span class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266m_4458630405387822699m_2142993556099918722m_-637468873238999704HOEnZb"><font color="#888888"><br>
<br>
Gerard<br>
</font></span></blockquote></div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266m_4458630405387822699m_2142993556099918722m_-637468873238999704HOEnZb"><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266m_4458630405387822699m_2142993556099918722m_-637468873238999704h5"><br>
______________________________<wbr>_________________<br>
Devtools mailing list<br>
<a href="mailto:Devtools@redhat.com" target="_blank">Devtools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/devtools" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/devtools</a><br>
</div></div></blockquote></div></div></div><div><div class="gmail_extra"><br><br clear="all"><br>-- <br><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266m_4458630405387822699m_2142993556099918722m_-637468873238999704gmail_signature" data-smartmail="gmail_signature">Praveen Kumar<br><a href="https://fedoraproject.org/wiki/User:Kumarpraveen" target="_blank">https://fedoraproject.org/wiki<wbr>/User:Kumarpraveen</a></div>
</div></div>
______________________________<wbr>_________________<br>
Devtools mailing list<br>
<a href="mailto:Devtools@redhat.com" target="_blank">Devtools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/devtools" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/devtools</a><br>
</blockquote></div></div>
</div></div><br>______________________________<wbr>_________________<br>
Devtools mailing list<br>
<a href="mailto:Devtools@redhat.com" target="_blank">Devtools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/devtools" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/devtools</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266m_4458630405387822699gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">James<br>-------<br>Red Hat<br><br>Twitter: @jstrachan<br>Email: <a href="mailto:james.strachan@gmail.com" target="_blank">james.strachan@gmail.co<wbr>m</a></div><div dir="ltr" style="font-size:12.8px">Blog: <a href="https://medium.com/@jstrachan/" target="_blank">https://medium.com/@jstr<wbr>achan/</a><br><br><div dir="ltr"><div dir="ltr">fabric8: <a href="https://fabric8.io/" target="_blank">https://fabric8.io/</a></div><div dir="ltr">open source development platform</div><div dir="ltr"><br></div><div dir="ltr">funktion: <a href="https://funktion.fabric8.io/" target="_blank">https://funktion.fab<wbr>ric8.io/</a></div><div dir="ltr">open source event based lambda programming</div></div></div></div></div>
</div>
</blockquote></div></div></div><div><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563h5"><br><br clear="all"><br>-- <br><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563m_-6005664614008455376m_7728148259176946266gmail_signature" data-smartmail="gmail_signature">Praveen Kumar<br><a href="https://fedoraproject.org/wiki/User:Kumarpraveen" target="_blank">https://fedoraproject.org/wiki<wbr>/User:Kumarpraveen</a></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592m_3543839394798138563gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">James<br>-------<br>Red Hat<br><br>Twitter: @jstrachan<br>Email: <a href="mailto:james.strachan@gmail.com" target="_blank">james.strachan@gmail.co<wbr>m</a></div><div dir="ltr" style="font-size:12.8px">Blog: <a href="https://medium.com/@jstrachan/" target="_blank">https://medium.com/@jstr<wbr>achan/</a><br><br><div dir="ltr"><div dir="ltr">fabric8: <a href="https://fabric8.io/" target="_blank">https://fabric8.io/</a></div><div dir="ltr">open source development platform</div><div dir="ltr"><br></div><div dir="ltr">funktion: <a href="https://funktion.fabric8.io/" target="_blank">https://funktion.fab<wbr>ric8.io/</a></div><div dir="ltr">open source event based lambda programming</div></div></div></div></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620m_-5016328364595374975m_9079231504586313592gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">James<br>-------<br>Red Hat<br><br>Twitter: @jstrachan<br>Email: <a href="mailto:james.strachan@gmail.com" target="_blank">james.strachan@gmail.co<wbr>m</a></div><div dir="ltr" style="font-size:12.8px">Blog: <a href="https://medium.com/@jstrachan/" target="_blank">https://medium.com/@jstr<wbr>achan/</a><br><br><div dir="ltr"><div dir="ltr">fabric8: <a href="https://fabric8.io/" target="_blank">https://fabric8.io/</a></div><div dir="ltr">open source development platform</div><div dir="ltr"><br></div><div dir="ltr">funktion: <a href="https://funktion.fabric8.io/" target="_blank">https://funktion.fab<wbr>ric8.io/</a></div><div dir="ltr">open source event based lambda programming</div></div></div></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
Devtools mailing list<br>
<a href="mailto:Devtools@redhat.com" target="_blank">Devtools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/devtools" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/devtools</a><br>
<br></blockquote></div></div></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_3652950767813489865m_-5011773080704807275m_7292985733989192683m_4370762138655079620gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">James<br>-------<br>Red Hat<br><br>Twitter: @jstrachan<br>Email: <a href="mailto:james.strachan@gmail.com" target="_blank">james.strachan@gmail.co<wbr>m</a></div><div dir="ltr" style="font-size:12.8px">Blog: <a href="https://medium.com/@jstrachan/" target="_blank">https://medium.com/@jstr<wbr>achan/</a><br><br><div dir="ltr"><div dir="ltr">fabric8: <a href="https://fabric8.io/" target="_blank">https://fabric8.io/</a></div><div dir="ltr">open source development platform</div><div dir="ltr"><br></div><div dir="ltr">funktion: <a href="https://funktion.fabric8.io/" target="_blank">https://funktion.fab<wbr>ric8.io/</a></div><div dir="ltr">open source event based lambda programming</div></div></div></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
Devtools mailing list<br>
<a href="mailto:Devtools@redhat.com" target="_blank">Devtools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/devtools" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/devtools</a><br>
<br></blockquote></div></div></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_3652950767813489865gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">James<br>-------<br>Red Hat<br><br>Twitter: @jstrachan<br>Email: <a href="mailto:james.strachan@gmail.com" target="_blank">james.strachan@gmail.<wbr>com</a></div><div dir="ltr" style="font-size:12.8px">Blog: <a href="https://medium.com/@jstrachan/" target="_blank">https://medium.com/@<wbr>jstrachan/</a><br><br><div dir="ltr"><div dir="ltr">fabric8: <a href="https://fabric8.io/" target="_blank">https://fabric8.io/</a></div><div dir="ltr">open source development platform</div><div dir="ltr"><br></div><div dir="ltr">funktion: <a href="https://funktion.fabric8.io/" target="_blank">https://funktion.<wbr>fabric8.io/</a></div><div dir="ltr">open source event based lambda programming</div></div></div></div></div>
</div>
</div></div></blockquote></div><br></div></div>