Uninstalling the resource specification injection webhook on the cluster
Uninstall the resource specification injection (RSI) webhook if you plan to uninstall IBM Cloud Pak® for Data or if you no longer plan to use the RSI feature to create patches.
- Who needs to complete this task?
- A cluster administrator must complete this task.
- When do you need to complete this task?
- Complete this task if one of the following statements is true:
- You plan to uninstall all instances of IBM Cloud Pak for Data from the cluster
- You no longer plan to use the RSI feature to create patches
Before you begin
Complete the following steps in each project (namespace) where the RSI feature is enabled:
- Get a list of all patches in the
project:
cpd-cli manage get-rsi-patch-info \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE} \ --all
For details, see
get-rsi-patch-info
. - Set
active
patches toinactive
.Before you run the command, replace <patch-name> with the name of the patch that you want to make inactive.
cpd-cli manage create-rsi-patch \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE} \ --patch_name=<patch-name> \ --state=inactive
For details, see
create-rsi-patch
. - Delete the patches in the
project.
cpd-cli manage delete-rsi-patch \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE} \ --all
For details, see
delete-rsi-patch
. - Disable the RSI feature in the project:
IBM Cloud Pak foundational services is installed in ibm-common-services
cpd-cli manage disable-rsi \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE}
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}