Oc: Difference between revisions
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
* <span id="get"></span>[[oc get]] | * <span id="get"></span>[[oc get]] | ||
* <span id="login"></span>[[oc login]] | * <span id="login"></span>[[oc login]] | ||
* <span id="logout"></span>[[oc logout] | * <span id="logout"></span>[[oc logout]] | ||
* <span id="logs"></span>[[oc logs]] | * <span id="logs"></span>[[oc logs]] | ||
* <span id="new-project"></span>[[oc new-project]] | * <span id="new-project"></span>[[oc new-project]] |
Revision as of 22:30, 5 July 2017
External
- https://docs.openshift.com/container-platform/latest/cli_reference/basic_cli_operations.html
- https://docs.openshift.com/container-platform/latest/cli_reference/admin_cli_operations.html
Internal
Installation
RHEL: oc can be installed with the atomic-openshift-clients package.
Mac: Download from https://access.redhat.com/downloads/content/290, choose "OpenShift v3.5 MacOSX Client". Then extract the content and place "oc" in PATH.
Output
-o json or -o yaml creates an output of the requested action in the desired format rather than actually executing the command.