6 Uninstalling OCNWDAF

To perform an automated uninstall, run the following command:

helm uninstall <installation name> -n $K8_NAMESPACE
 

This command removes all the resources including the PVCs.

Sample Output:

[cloud-user@occne224-cluster-bastion-1 ]$ helm uninstall nwdaf -n $K8_NAMESPACE
W0404 05:04:57.056877 3860334 warnings.go:70] autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable     in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
W0404 05:04:57.065008 3860334 warnings.go:70] autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable     in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
release "nwdaf" uninstalled

To perform a manual uninstall, run the following commands:

helm uninstall <installation name> -n <namespace> --no-hooks
kubectl delete all --all -n $K8_NAMESPACE && kubectl delete secret --all -n $K8_NAMESPACE

Caution:

The kubectl delete command deletes all the Kubernetes objects of the specified namespace.

For troubleshooting procedures, see, Oracle Communications Networks Data Analytics Function Troubleshooting Guide.