$ oc adm <action> <option>
This topic provides information on the administrator cli operations and their syntax. You must setup and login with the cli before you can perform these operations.
The openshift
command is used for starting services that make up the
OpenShift Container Platform cluster. For example, openshift start [master|node]
. However,
it is also an all-in-one command that can perform all the same actions as the
oc
and oc adm
commands via openshift cli
and openshift admin
respectively.
The administrator cli differs from the normal set of commands under the
developer cli, which uses the oc
command, and
is used more for project-level operations.
The administrator cli allows interaction with the various objects that are
managed by OpenShift Container Platform. Many common oc adm
operations are invoked using the
following syntax:
$ oc adm <action> <option>
This specifies:
An <action>
to perform, such as new-project
or groups
.
An available <option>
to perform the action on as well as a value for the
option. Options include --output
.
When running |