Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added

OpenShift OC Documentation

https://docs.openshift.com/enterprise/3.0/cli_reference/index.html

1- login

2- create a projeCT ( NAME SPACE )

3- create a new-APP

4- expose the service ( public internet )


C:\Users\jkriker\Desktop>oc login https://api.starter-us-west-2.openshift.com
Authentication required for https://api.starter-us-west-2.openshift.com:443 (openshift)
Username: jlk0013
Password:
Login successful.

...

View details with 'oc describe <resource>/<name>' or list everything with 'oc get all'.




4- expose the service ( public internet )


C:\Users\jkriker\Desktop>oc expose service ruby-ex
route "ruby-ex" exposed


Image Added



http://ruby-ex-jlk-from-oc-2.7e14.starter-us-west-2.openshiftapps.com/


Image Added