Skip to content

Instantly share code, notes, and snippets.

@rektide
Created January 14, 2016 18:50
Show Gist options
  • Save rektide/2210b1514b79c586449d to your computer and use it in GitHub Desktop.
Save rektide/2210b1514b79c586449d to your computer and use it in GitHub Desktop.
OpenShift: my first 15 minutes
oc project userX-smoke
oc project user16-smoke
oc routes
oc get routes
oc get -h
oc get -h
oc get pods
oc get {pods,replicationController}
oc get pods
oc get replicationController
oc get pods -o json smoke-1
oc get pods -o json smoke-1-build
oc new-app kubernetes/guestbook
oc new-project user16-template
oc create -f https://raw.githubusercontent.com/gshipley/openshift3mlbparks/master/mlbparks-template.json
oc new-app mlbparks
oc get routes
oc get projects
history | tail -n 15
oc get apps
oc get replicationController
oc get routes
oc -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment