Manually creating projects (namespaces) for the shared cluster components for IBM Cloud Pak for Data

The IBM Cloud Pak for Data command-line interface can automatically create any projects that don't exist on the cluster. However, you can choose to create the projects for the shared cluster components manually.

Installation phase
You are not here. Setting up a client workstation
You are not here. Setting up a cluster
You are not here. Collecting required information
You are not here. Preparing to run installs from a private container registry
You are here icon. Preparing the cluster for Cloud Pak for Data
You are not here. Preparing to install an instance of Cloud Pak for Data
You are not here. Installing an instance of Cloud Pak for Data
Who needs to complete this task?

Cluster administrator You must be a cluster administrator to create projects.

When do you need to complete this task?

This task is optional.

  • Skip this task if you want to allow the IBM Cloud Pak for Data command-line interface (cpd-cli) to automatically create the projects for the shared cluster components.
  • One-time setup Complete this task only if you do not want to allow the IBM Cloud Pak for Data command-line interface (cpd-cli) to automatically create the projects for the shared cluster components.

Before you begin

Best practice: You can run the commands in this task exactly as written if you set up environment variables. For instructions, see Setting up installation environment variables.

Ensure that you source the environment variables before you run the commands in this task.

Procedure

To create the required projects:

  1. Log in to Red Hat® OpenShift® Container Platform as a cluster administrator.
    oc login ${OCP_URL}
  2. If you don't have a certificate manager, such as the Red Hat OpenShift cert-manager, create the project for the Certificate manager:
    oc new-project ${PROJECT_CERT_MANAGER}
  3. Create the project for the License Service:
    oc new-project ${PROJECT_LICENSE_SERVICE}
  4. If you plan to install the scheduling service, create the project for the scheduling service.
    oc new-project ${PROJECT_SCHEDULING_SERVICE}

What to do next

Now that you've created the projects for the shared cluster components, you're ready to complete Installing shared cluster components for IBM Cloud Pak for Data.