Prerequisites to install Operator online
Install a client binary command-line tool and Operator SDK before you install the Operator.
Procedure
- Installing client binary command-line tools
- Install the oc or kubectl tool, based on the
following scenarios.
- If you are connected to a Red Hat® OpenShift® Container Platform cluster, install the oc command-line tool. For more information, see Installing the OpenShift CLI by downloading the binary.
- If you are connected to a non-OpenShift Kubernetes cluster, install the
kubectl
command-line tool. For more information, see kubectl.
Note:oc
commands are interchangeable withkubect
. Hence, if you are connected to a non-OpenShift Kubernetes cluster, ensure to replace theoc
commands withkubectl
counterparts.
- Install the oc or kubectl tool, based on the
following scenarios.
- Installing Operator SDK command-line tool
Install the Operator SDK command-line tool only if you are installing the Operator on a non-OpenShift Kubernetes cluster.
Important:- Ensure that you have administrator authority or have been granted the appropriate role-based access control (RBAC) to administer the cluster before installing the Operator Lifecycle Manager (OLM). For more information, see role-based access control good practices.
- The OLM is not included in the out-of-the-box offering. For inquiries about OLM, you must contact the OLM product team.
- In the following steps, to install Operator SDK and OLM on a Kubernetes platform, you will be navigated to the respective websites outside of IBM®. For more information, see Operator Lifecycle Manger.
- Install the Operator SDK. For more information, see Install the Operator SDK.
- Ensure that you are logged in to your Kubernetes environment.
- Run the following command to install OLM in your cluster:
operator-sdk olm install
- You will see the output as shown in the Installing OLM in your cluster page.
- For more information about prerequisites, see Preparing to install Sterling Order Management System Software.