Installing a client binary command-line tool
Install a command-line tool based on the cluster that you are using.
Procedure
Install the oc or kubectl tool, based on the
following scenarios.
- If you are connected to a Red Hat® OpenShift® Container Platform cluster, install the oc command-line tool. For more information, see Installing the OpenShift CLI by downloading the binary.
- If you are connected to a non-OpenShift Kubernetes cluster, install the
kubectl
command-line tool. For more information, see kubectl.
Note:
oc
commands are interchangeable with kubectl
. Hence, if you
are connected to non-OpenShift Kubernetes cluster, ensure to replace the oc
commands with kubectl
counterparts.