manage
setup-instance-ns
Extended description
Specialized installations only.
If you installed the Cloud Pak for Data operators in a separate project (namespace) from the IBM Cloud Pak® foundational services operators, you must enable the project where the Cloud Pak for Data operators are installed to watch the project where you plan to install the control plane and services.
The setup-instance-ns
command creates or updates the
nss-cpd-operators NamespaceScope
object in the project where the Cloud Pak for Data operators are installed. The command adds the name
of the project where you plan to install the control plane and services to the
namespaceMembers
list.
Syntax
cpd-cli manage setup-instance-ns \
--cpd_instance_ns=<project-name> \
--cpd_operator_ns=<project-name> \
[--preview=true|false] \
[-v][-vv][-vvv]
Arguments
The setup-iam-integration
command has no arguments.
Options
Option | Description |
---|---|
--cpd_instance_ns |
The
project (namespace) where you want to install the control plane and
services.
|
--cpd_operator_ns |
The project (namespace) where the IBM Cloud Pak for Data operators
exist.
|
--preview |
Preview the commands that run when you issue this CLI
command. The command issues a series of
The
|
-v -vv -vvv |
Display verbose output. Options are listed from least verbose to the most verbose.
|
Examples
Use a script to create environment variables with the correct values for your environment. For details, see Best practice: Setting up install variables.
- Enable the operators project to watch the instance project
-
cpd-cli manage setup-instance-ns \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE} \ --cpd_operator_ns=${PROJECT_CPD_OPS}
- Preview the
oc
commands to enable the operators project to watch the instance project -
cpd-cli manage setup-instance-ns \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE} \ --cpd_operator_ns=${PROJECT_CPD_OPS} \ --preview=true