Uninstalling Policy Control Function
When you uninstall a Helm chart from your PCF deployment, it removes only the Kubernetes objects that it created during installation.
To uninstall, enter this command:
helm delete PCF_NAME
where
PCF_NAME is the
release name used by helm command.
Helm keeps a record of its releases, so you can still re-activate the release after you uninstall it.
To completely remove the release from the cluster, add the --purge
option to the command:
helm delete --purge PCF_NAME
For example, to completely remove a release named "ocpcf", you'd enter
this command:
helm delete --purge ocpcf
Deleting Kubernetes namespace
To delete kubernetes namespace, enter this command:
kubectl delete namespace PCF_NAMESPACE
where
PCF_NAMESPACE is the deployment namespace used by helm command.
For example, to delete a kubernetes namespace named "ocpcf", you'd
enter this command:
kubectl delete namespace ocpcf