Preparing a client to connect to the cluster

Make sure that the client that you intend to use to connect to the Red Hat® OpenShift® cluster has all the necessary tools.

About this task

A Red Hat OpenShift Kubernetes Service (ROKS) cluster, a Red Hat OpenShift Kubernetes Service on AWS (ROSA) cluster, an Azure Red Hat OpenShift (ARO) cluster, and a private Red Hat OpenShift cluster have different requirements.

Client-side requirements
Table 1. Client-side requirements step by step
Requirement More information
(For OCP deployments) OCP CLI For more information, see the OpenShift documentation External link opens a new window or tab and the download link External link opens a new window or tab. Download the latest version for your OCP cluster.

The CLI has commands for managing your applications, and lower-level tools to interact with each component of your system.

Place the oc binary in a directory that is on your PATH. To check your PATH, run the following command.

echo $PATH

When the CLI is in your PATH, it is available by running the oc command.

(For CNCF deployments) Kubernetes 1.16+ CLI For more information, see https://kubernetes.io/docs/tasks/tools/install-kubectl/ External link opens a new window or tab.
You must use a kubectl version that is within one minor version difference of your cluster. Using the latest version of kubectl helps avoid unforeseen issues. Download the latest release with the command:
export KUBECTL_VERSION=curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt
curl -LO "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"

To check the version, run the following command.

kubectl version --client
Helm CLI For more information about Helm CLI version 3.x, see Installing Helm External link opens a new window or tab.
What else is needed before you run the installation scripts
Table 2. Script requirements
Requirement More information
Python Python 3.10 and above. For more information, see Download Python External link opens a new window or tab
Java™ version (CCx prerequisites script only) Java™ Semeru 17. For download information, see Semeru Runtimes getting started External link opens a new window or tab.
Note: Only the Content Cortex prerequisites script requires Java™.
Skopeo CLI For more information about skopeo CLI version 1.x, see Installing skopeo from packages External link opens a new window or tab.

What to do next

Go to and complete the next step in Downloading the ibm-content-cortex-containers repository.