Uninstall BindPlane OP Server

Uninstall

Helm

When BindPlane OP is managed by Helm, it can be uninstalled with the helm uninstall command.

This example assumes that BindPlane was deployed with Helm using the application name "bindplane".

helm uninstall "bindplane"

Manually

BindPlane can be cleaned up manually with the following commands. These commands assume the following:

  • BindPlane was deployed to the bindplane namespace.
  • BindPlane resources are named bindplane
    • You can do kubectl -n bindplane get all to view the resource names.
kubectl -n bindplane delete sts bindplane
kubectl -n bindplane delete svc bindplane

If Ingress was enabled:

kubectl -n bindplane delete ing bindplane

If auto scaling was enabled:

kubectl -n bindplane delete hpa bindplane

Cleanup

Once BindPlane is uninstalled, make sure to cleanup any dangling persistent volume claims. Depending on your storage class configuration, volumes may be preserved when the associated volume claim template has been deleted (as part of the StatefulSet deletion).

You can view existing volume claims in the namespace:

kubectl -n bindplane get pvc

If you wish to delete the volume claims (and the associated persistent volume):

kubectl -n bindplane delete pvc <pvc name>