manage
disable-rsi
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.
- Set all
activepatches toinactivewithout the--skip_applyoption so that the pods in the project are reverted to the original specification. For details, seecreate-rsi-patch. - 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.
|
--cs_ns |
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.
|
Examples
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}