Creating the projects for a remote physical location

Before you can install the IBM Software Hub agents on a remote cluster, you must create the projects for the remote physical location.

Who needs to complete this task?

Cluster administrator A cluster administrator must complete this task.

When do you need to complete this task?

You must complete this task before you install the agents on the remote cluster.

Repeat as needed If you plan to create multiple physical locations on the remote cluster, repeat this task for each remote physical location that you plan to create.

Before you begin

Best practice: You can run the commands in this task exactly as written if you use set up environment variables for the remote physical location in addition to the installation environment variables script. For instructions, see Setting up environment variables for a remote physical location.
Before you run the commands in this task, ensure that you source the environment variables for:
  • The primary cluster
  • The remote physical location

Before you complete this task, ensure that you completed Installing the shared cluster components for a remote physical location.

About this task

Each remote physical location requires the following projects:

A management project
The project on a remote physical location where you want to install the required agents, operators, and custom resources.
A workload project
The project on a remote physical location where you want to run workloads.

Each management project and workload project can be used for exactly one remote physical location. If you want to create multiple physical locations on the cluster, you must create a management project and a workload project for each physical location.

Procedure

  1. Log in to Red Hat OpenShift Container Platform as a user with sufficient permissions to complete the task.
    ${REMOTE_OC_LOGIN}
    Remember: REMOTE_OC_LOGIN is an alias for the oc login command when you are connecting to a remote cluster.
  2. Create the management project:
    oc new-project ${REMOTE_PROJECT_MANAGEMENT}
  3. Create the workload project:
    oc new-project ${REMOTE_PROJECT_WORKLOAD}

What to do next

Now that you've created the projects for the remote physical location, you're ready to complete Creating a remote physical location by installing the IBM Software Hub agents.