Installing the OpenShift command-line interface
The IBM Cloud Pak® for Data command-line
interface (cpd-cli
) interacts with the OpenShift command-line interface
(oc
CLI) to issue commands to your Red Hat® OpenShift Container Platform cluster.
- Installation phase
- Setting up a client workstation
- Who needs to complete this task?
- All administrators Any users who are completing Cloud Pak for Data installation tasks must install the OpenShift CLI.
- When do you need to complete this task?
- Repeat as needed You must complete this task on any workstation from which you plan to run installation commands.
About this task
You must install a version of the OpenShift CLI that is compatible with your Red Hat OpenShift Container Platform cluster.
Procedure
To install the OpenShift CLI,
follow the appropriate guidance for your cluster:
- Self-managed clusters
-
Install the version of the
oc
CLI that corresponds to the version of Red Hat OpenShift Container Platform that you are running. For details, see Getting started with the OpenShift CLI in the Red Hat OpenShift Container Platform documentation: - Managed OpenShift clusters
-
Follow the appropriate guidance for your managed OpenShift environment.
OpenShift environment Installation instructions IBM® Cloud Satellite See Installing the CLI plug-in for Satellite commands in the IBM Cloud Satellite documentation. Red Hat OpenShift on IBM Cloud® See Installing the OpenShift CLI in the IBM Cloud documentation. Azure Red Hat OpenShift (ARO) See Install the OpenShift CLI in the Azure Red Hat OpenShift documentation Red Hat OpenShift Service on AWS (ROSA) See Getting started with the ROSA CLI in the Red Hat OpenShift Service on AWS documentation.