manage uninstall-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.

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.

Before you uninstall the RSI feature:
  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 any RSI patches on the cluster. For details, see delete-rsi-patch.
  3. 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.
Status
Optional.
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. The RSI webhook will be removed from this project.
--rsi_image The location and name of the RSI image in the private container registry.
Status
Required if you mirrored the zen-rsi-adm-controller image to a private container registry.
Syntax
--rsi_image=<image-location-and-name>
Default value
No default. User-defined.
Valid values
Specify the value with the format: ${PRIVATE_REGISTRY_LOCATION}/cpd/zen-rsi-adm-controller:4.6.5-x86_64
-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.

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}