Installing the Cloud Pak for Data control plane from the OpenShift terminal
A Red Hat® OpenShift® project editor can install the IBM® Cloud Pak for Data control plane by creating a custom resource definition (CRD).
Use this installation method to install Cloud Pak for Data if you installed the Cloud Pak for Data Operator on your cluster.
Before you begin
Required role: To complete this task, you must be an editor of the project (namespace) where you will deploy the control plane. At a minimum, you must be able to create and apply YAML files in the project.
Before you can install Cloud Pak for Data, ensure that:
- The Cloud Pak for Data Operator is installed on the cluster. For details, see Setting up the Cloud Pak for Data Operator.
- The project where you plan to deploy control plane exists.
- The cluster meets the minimum requirements for installing the control plane. For details, see System requirements for IBM Cloud Pak for Data.
Procedure
From your installation node:
- Log in to your Red Hat OpenShift
cluster:
oc login OpenShift_URL:port
- Create a custom resource definition called lite-resource.yaml with the
following
structure:
apiVersion: metaoperator.cpd.ibm.com/v1 kind: CPDService metadata: name: lite-cpdservice namespace: Project spec: serviceName: lite version: latest storageClass: Storage_class overrideConfig: Override license: accept: true
Replace the following values:
Variable Replace with Project Use the value provided by your cluster administrator. You should have obtained this information when you completed Preparing to install and upgrade services. Storage_class Use the value provided by your cluster administrator. You should have obtained this information when you completed Preparing to install and upgrade services. Override Select the appropriate value based on the type of storage that you are using: - If you are installing with NFS storage, specify ""
- If you are installing with OpenShift Container Storage, specify ocs.
- If you are installing with Portworx storage, specify portworx.
- Run the following command to create the custom resource definition on the
cluster:
oc create -f lite-resource.yaml -n Project
Replace Project with the project where you want to install the control plane.
- Run the following command to check the status of the
installation:
oc get cpdservice lite-cpdservice -n Project--output="jsonpath={.status}"
Replace Project with the project where you installed the control plane.