Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1011 Bytes

cnv-openshift-client-commands.adoc

File metadata and controls

38 lines (27 loc) · 1011 Bytes

{product-title} client commands

The {product-title} oc client is a command-line utility for managing {product-title} resources. The following table contains the oc commands used throughout the {CNVProductName} documentation.

Table 1. oc commands
Command Description

oc login -u <user_name>

Log in to the {product-title} cluster as <user_name>.

oc get <object_type>

Display a list of objects for the specified object type in the project.

oc describe <object_type> <resource_name>

Display details of the specific resource in the project.

oc create -f <object_config>

Create a resource in the project from a filename or from stdin.

oc edit <object_type> <resource_name>

Edit a resource in the project.

oc delete <object_type> <resource_name>

Delete a resource in the project.