Oc: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:
=Installation=
=Installation=


<tt>oc</tt> can be installed with the <tt>atomic-openshift-clients</tt> package.
RHEL: <tt>oc</tt> can be installed with the <tt>atomic-openshift-clients</tt> 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=
=Output=

Revision as of 19:14, 5 July 2017

External

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.

Commands