manage disable-rsi

Important: IBM Cloud Pak® for Data Version 4.6 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.

Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.6 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.

Disable the resource specification injection (RSI) feature in the specified project and in any projects that are tethered to the project.

Extended description

If you want to stop using the resource specification injection (RSI) feature with an instance of Cloud Pak for Data, you must prevent the RSI webhook from injecting RSI patches into the pods in the project where Cloud Pak for Data is installed.

You must be a cluster administrator or project administrator to run this command.

Before you disable the RSI feature, it is recommended that you:
  1. Set all active patches to inactive without the --skip_apply option so that the pods in the project are reverted to the original specification. For details, see create-rsi-patch.
  2. Delete the RSI patches in the project. For details, see delete-rsi-patch

Syntax

cpd-cli manage disable-rsi \
--cpd_instance_ns=<project-name> \
[--cs_ns=<project-name>] \
[-v][-vv][-vvv]

Arguments

The disable-rsi command has no arguments.

Options

Option Description
--cpd_instance_ns The OpenShift® 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 disable the RSI feature. Cloud Pak for Data must be installed in this project.
--cs_ns The project where IBM Cloud Pak foundational services is installed.
Status
Required if IBM Cloud Pak foundational services is installed in a project other than ibm-common-services.
Syntax
--cs_ns=<project-name>
Default value
ibm-common-services

If you omit this option, the default value is used.

Valid values
The name of the project where IBM Cloud Pak foundational services is installed.
-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.

Use a script to create environment variables with the correct values for your environment. For details, see Best practice: Setting up install variables.

Disable the RSI feature in the project where Cloud Pak for Data is installed
cpd-cli manage disable-rsi \
--cpd_instance_ns=${PROJECT_CPD_INSTANCE}
Disable the RSI feature in the project where Cloud Pak for Data is installed when IBM Cloud Pak foundational services is installed in project other than ibm-common-services
cpd-cli manage disable-rsi \
--cpd_instance_ns=${PROJECT_CPD_INSTANCE} \
--cs_ns=${PROJECT_CPFS_OPS}