Manually creating projects (namespaces) for an instance of 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 optionally create the projects manually.
- Installation phase
-
Setting up a client workstation
Setting up a cluster
Collecting required information
Preparing to run installs in a restricted network
Preparing to run installs from a private container registry
Preparing the cluster for IBM Software Hub
Preparing to install an instance of IBM Software Hub
Installing an instance of IBM Software Hub
Setting up the control plane
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 an instance of IBM Software Hub. - 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 an instance of IBM Software Hub.Repeat as needed If you plan to install multiple instances of IBM Software Hub, you can repeat this task for each instance that you plan to install.
- Skip this task if you want to allow the IBM Software Hub command-line interface (
Before you begin
- Review the guidance in Supported project (namespace) configurations.
- Determine whether this instance of IBM Software Hub will have any tethered projects. If yes,
determine the number of tethered projects.Restriction: Only some services can deploy workloads or service instances to tethered projects. To determine if the services that you plan to install can use tethered projects, see Multitenancy support.
Many services support only one service instance in a given project. So if you want to create multiple instances of a service, you must deploy each instance of the service in a different project. You can achieve this by creating multiple tethered projects and creating one instance of the service in each tethered project.
You can co-locate service instances and workloads for different services in the same tethered project, or you can create different tethered projects if one service or workload requires more privileges. You can use different tethered projects to give each service instance or workload the privileges it needs to align with the Principle of Least Privileges.
Ensure that you source the environment variables before you run the commands in this task.
Procedure
To create the required projects: