Logging in to your cluster from the command-line interface
After you install the CLIs, you can log in to your cluster from the command-line interface to view information about the cluster and manage your resources.
About this task
The instructions in the following procedure document how to log in from the Red Hat®
OpenShift® CLI (oc).
- If you are using a Kubernetes environment, log in by using the relevant command for your environment.
- In all other commands within the documentation, substitute oc with kubectl where appropriate.
Procedure
To log in to your cluster, complete the following steps: