Manually creating projects (namespaces) for the shared cluster components for IBM Software Hub

The IBM Software Hub 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 in a restricted network
  • You are not here. Preparing to run installs from a private container registry
  • You are here icon. Preparing the cluster for IBM Software Hub
  • You are not here. Preparing to install an instance of IBM Software Hub
  • You are not here. Installing an instance of IBM Software Hub
  • You are not here. Setting up the control plane
  • You are not here. Installing solutions and services
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 Software Hub 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 Software Hub 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}
  2. Create the project for the License Service:
    oc new-project ${PROJECT_LICENSE_SERVICE}
  3. 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 Software Hub.