onepanelio / onepanel

The open source, end-to-end computer vision platform. Label, build, train, tune, deploy and automate in a unified platform that runs on any cloud and on-premises.
https://docs.onepanel.ai/
Apache License 2.0
720 stars 70 forks source link

Add CLI command for getting istio-ingressgateway external IP #85

Closed rushtehrani closed 4 years ago

rushtehrani commented 4 years ago

Need to display the istio gateway external IP/host before displaying the URL to user. This is only if the provider is cloud:

Message would be: Please point your Wildcard FQDN (i.e. .example.com or .sub.example.com) in your DNS provider to as outlined in our docs. Once the DNS propagates, your application will be available at /

Sample kubectl command to get gateway external IP:

kubectl get service istio-ingressgateway -n istio-system

Relates to #89

aleksandrmelnikov commented 4 years ago

@rushtehrani Should I try developing this against Azure?

aleksandrmelnikov commented 4 years ago

Also, is this supposed to display after the apply command finishes?

rushtehrani commented 4 years ago

@rushtehrani Should I try developing this against Azure?

Azure has that pending issue with Istio still so the cluster won't run, they're supposed to have it fixed this week.

Also, is this supposed to display after the apply command finishes?

Correct, we're basically extending/adjusting the current "Your application is running at ..." message.

aleksandrmelnikov commented 4 years ago

Full command: kubectl get service istio-ingressgateway -n istio-system -o jsonpath='{.status.loadBalancer.ingress[0].ip}'