copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2024-10-07 |
openshift, oc, installing oc, openshift cli, installing oc cli |
openshift |
{{site.data.keyword.attribute-definition-list}}
{: #cli-install}
You can use the following tools to manage your {{site.data.keyword.openshiftlong_notm}} clusters. While you can install a subset of the tools, all the following tools are recommended. {: shortdesc}
[Virtual Private Cloud]{: tag-vpc} [Classic infrastructure]{: tag-classic-inf} [{{site.data.keyword.satelliteshort}}]{: tag-satellite}
{: #cli-understand}
CLI | Description |
---|---|
ibmcloud |
You can use the ibmcloud CLI to login to your account, add users, manage your catalogs and more. |
ks plug-in |
After installing the ibmcloud CLI, you can use the ks plug-in to create and manage {{site.data.keyword.openshiftlong_notm}} clusters as well as {{site.data.keyword.satelliteshort}} hosts and Locations. |
oc |
You can use the oc CLI to manage resources within your clusters like pods, deployments, and more. |
{: caption="Table 1: CLI tools" caption-side="bottom"} |
{{../cli/index.md#step1-install-idt}}
{{../cli/index.md#step2-verify-idt}}
{{../cli/index.md#step3-install-idt-manually}}
To install the container-service
or ks
plugin, run the following command.
ibmcloud plugin install ks
{: pre}
{: #install-kubectl-cli} {: step}
You can use the oc
CLI to deploy and manage resources in your {{site.data.keyword.openshiftlong_notm}} cluster.
-
If you already have a Red Hat account, install the OpenShift CLI. For more information, see the Getting started with the OpenShift CLI{: external}.
-
If you don't have a Red Hat account, you can download the OpenShift CLI from the {{site.data.keyword.redhat_openshift_notm}} clusters console{: external} after you create an OpenShift cluster.
-
For more information about the OpenShift CLI, see the following links.
- OpenShift CLI administrator command reference{: external}.
- OpenShift CLI developer command reference{: external}.
Red Hat OpenShift on IBM Cloud version 4.16 is now based on the RHEL 9.2 host operating system, which increases the micro-architecture requirements{: external} to x86-64-v2. As a result, host machines for IBM Cloud {{site.data.keyword.satelliteshort}} must support x86-64-v2 architecture for any location that contains a version 4.16 cluster. See Host system requirements for more information. In addition, client machines used to run oc
client version 4.16 must also support x86-64-v2 architecture. Client machines, such as Ubuntu 20, that do not meet this micro-architecture requirement must use a RHEL 8 based oc
version 4.16 client. Refer to the list of available oc
version 4.16 clients{: external}.
{: important}