7.1 Verify Uninstallation
To verify the OCNWDAF uninstallation, run the following command:
$ kubectl get all -n <release-namespace>
In case of successful uninstallation, no OCNWDAF resource is displayed in the command output.
If the command output displays the OCNWDAF resources or objects, then perform the following procedure:
- Run the following command to delete all the objects:
- To delete all the Kubernetes objects:
kubectl delete all --all -n <release-namespace>
- To delete all the configmaps:
kubectl delete cm --all -n <release-namespace>
Caution:
The command deletes all the Kubernetes objects of the specified namespace. RBAC resources and service accounts are automatically created before the helm installation in the same namespace, and these resources are required, then do not delete them. - To delete all the Kubernetes objects:
- Run the following command to delete the specific
resources:
kubectl delete <resource-type> <resource-name> -n <release-namespace>
- Run the following command to delete the Kubernetes
namespace:
kubectl delete namespace <release-namespace>