manage
enable-rsi
Enable the resource specification injection (RSI) feature in the specified project and in any projects that are tethered to the project.
- Required role
-
Cluster administrator A cluster administrator must run this command.
Extended description
If you want to use the resource specification injection (RSI) feature to customize the specifications of pods that are associated with an instance of IBM Cloud Pak for Data, you must enable the RSI webhook to inject RSI patches into pods in the projects that are associated with an instance of Cloud Pak for Data.
If you have multiple instances of Cloud Pak for Data on the cluster, you must run this command for each instance where you want to use the RSI feature.
Syntax
cpd-cli manage enable-rsi \
--cpd_instance_ns=<project-name> \
[-v][-vv][-vvv]
Arguments
The enable-rsi
command has no arguments.
Options
Option | Description |
---|---|
--cpd_instance_ns |
The project where the IBM Cloud Pak® for Data control plane and services are
installed.
|
-v -vv -vvv |
Display verbose output. Options are listed from least verbose to the most verbose.
|
Examples
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Setting up installation environment variables.
- Enable the RSI feature in the project where Cloud Pak for Data is installed
-
cpd-cli manage enable-rsi \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS}