2

guys I am using OpenShift to conatinerize and run application on kubernetes, I have started the open shift cluster using oc cluster up now how do I open in the web console. For the mini shift I have user minishift start and then minishift console it's not working the same with oc cluster up

Graham Dumpleton
  • 57,726
  • 6
  • 119
  • 134
Sri
  • 63
  • 2
  • 10
  • For ``oc cluster up`` when you run ``oc login`` it should show you the URL you can use. You can also get it using ``oc whoami --show-server``. – Graham Dumpleton Jul 15 '18 at 11:49

3 Answers3

4

Running oc whoami --show-console returns the link to the console app.

luiss
  • 343
  • 4
  • 9
2

You can obtain the console URL in OpenShift Container Platform 4 as follows:

$ oc get routes -n openshift-console
-1

Thanks, oc login helped me to get the web console url

Sri
  • 63
  • 2
  • 10