manage
uninstall-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.
Uninstall the resource specification injection (RSI) feature.
Extended description
This command deletes the cluster-wide RSI webhook from the project where IBM Cloud Pak foundational services is installed.
You must be a cluster 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 any RSI patches on the cluster. For details, see
delete-rsi-patch. - Disable RSI in any projects where it is enabled. For details, see
disable-rsi
Syntax
cpd-cli manage uninstall-rsi \
[--cs_ns=<project-name>] \
[--rsi_image=<image-location-and-name> ] \
[-vv][-vv][-vvv]
Arguments
The uninstall-rsi command has no arguments.
Options
| Option | Description |
|---|---|
--cs_ns |
The project where IBM
Cloud Pak foundational services is installed.
|
--rsi_image |
The location and name of the RSI image in the private container
registry.
|
-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.
- Uninstall the RSI feature when IBM
Cloud Pak foundational services is installed in
ibm-common-services -
cpd-cli manage uninstall-rsi - Uninstall the RSI feature when IBM
Cloud Pak foundational services is installed in a project other
than
ibm-common-services -
cpd-cli manage uninstall-rsi \ --cs_ns=${PROJECT_CPFS_OPS}