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.

Important: Enable RSI only if you are an advanced user on Red Hat® OpenShift® Container Platform. It is your responsibility to ensure that any patches that you apply to not introduce issues to your Cloud Pak for Data installation.

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

Table 1: Command options
Option Description
--cpd_instance_ns The project where the IBM Cloud Pak® for Data control plane and services are installed.
Status
Required.
Syntax
--cpd_instance_ns=<project-name>
Default value
No default. User-defined.
Valid values
The name of the project where you want to enable the RSI feature. Cloud Pak for Data must be installed in this project.
-v
-vv
-vvv
Display verbose output.

Options are listed from least verbose to the most verbose.

Status
Optional.
Syntax
Verbose output
-v
Very verbose output
-vv
Most verbose output
-vvv
Default value
Not applicable.
Valid values
Not applicable.

Examples

Note: The following example uses the recommended installation environment variables.

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}