Installing the OpenShift command-line interface
The IBM Software Hub 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
Setting up a cluster
Collecting required information
Preparing to run installs in a restricted network
Preparing to run installs from a private container registry
Preparing the cluster for IBM Software Hub
Preparing to install an instance of IBM Software Hub
Installing an instance of IBM Software Hub
Setting up the control plane
Installing solutions and services
- Who needs to complete this task?
- All administrators Any users who are completing IBM Software Hub 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
ocCLI 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 in the IBM Cloud Satellite documentation. Red Hat OpenShift on IBM Cloud See Installing the 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 Installing the OpenShift CLI in the Red Hat OpenShift Service on AWS documentation. Red Hat OpenShift Dedicated on Google Cloud See Learning how to use the command-line tools for Red Hat OpenShift Dedicated in the Red Hat OpenShift Dedicated documentation.