SCP Uninstall

SCP deployment can be uninstalled as follows. The steps below need to be executed from a server that has access to Kubectl and helm commands.

Table 2-6 SCP Uninstall

Step # Procedure Description

1

Undeploy SCP

Execute the following command to uninstall SCP:

$ helm delete <deployment_name> --purge

2

Remove SCP custom resources definitions

Execute the following command to remove SCP custom resources definitions:

$ kubectl get crds -o name | grep <deployment_name>.oracle.io | xargs kubectl delete

Example: $ kubectl get crds -o name | grep scp.oracle.io | xargs kubectl delete

3

Delete namespace

Execute the following command to delete the namespace:

kubectl delete namespace <deployment_name>

Note: Deleting the namespace deletes all the other Kubernates objects in that namespace.