Skip to content

Instantly share code, notes, and snippets.

@willm
Created October 20, 2016 12:06
Show Gist options
  • Save willm/67f4a720ae38850525226f2f2f4a6402 to your computer and use it in GitHub Desktop.
Save willm/67f4a720ae38850525226f2f2f4a6402 to your computer and use it in GitHub Desktop.
Openshift cheat sheet

Get a resource

oc get bc/your-app -o yaml

Apply a change to a resource

note: openshift will moan at you if your file has the resourceVersion property, remove this before applying your change oc apply -f your-resource.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment