oadp
uninstall
Install the Cloud Pak for Data Openshift APIs for Data Protection (OADP) backup REST service (cdpbr-api).
Syntax
cpd-cli oadp uninstall \
--component=<cpd-cli-oadp-component> \
--foundation-namespace=<cpd-foundational-services-namespace> \
--operators-namespace=<cpd-service-operators-namespace> \
[--cpd-namespace=<cpd-control-plane-namespace>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
[--no-prompt] \
[--revoke-image-puller-role=--revoke-image-puller-role] \
[--verbose]
Arguments
The uninstall
command has no
arguments.
Options
Option | Description |
---|---|
--component |
Specify the cpd-cli oadp component to uninstall.
|
--cpd-namespace |
The Cloud Pak for Data control plane namespace in which the utility operates.
|
--foundation-namespace |
Specify the Cloud Pak for Data foundational services namespace.
|
|
Display command help.
|
--log-level |
The command log level.
|
|
The namespace name in which the utility should operate.
|
--operators-namespace |
Specify the Cloud Pak for Data Operators namespace.
|
--revoke-image-puller-role |
Revokes permission for Cloud Pak for Data namespaces to pull images from the OADP/Velero namespace. The option is for OADP air-gapped installations.
|
--verbose |
Logs include more detailed messages.
|
Examples
Note: The following examples 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 following services for IBM Spectrum® Protect Plus integration.
- Uninstall the cpdbr-hooks service from the Cloud Pak for Data control plane namespace.
-
cpd-cli oadp uninstall \ --cpd-namespace=${PROJECT_CPD_INSTANCE} \ --component=cpdbr-hooks \ --log-level=warn
- Uninstall the cpdbr-ops-hooks service from the Cloud Pak for Data operators namespace.
-
cpd-cli oadp uninstall \ --component=cpdbr-ops-hooks \ --foundation-namespace=ibm-common-services \ --operators-namespace=ibm-common-services \ --log-level=warn