Tearing down the Anjuna Nitro Kubernetes Toolset

Follow this section to tear down all of your Anjuna Nitro Kubernetes Toolset resources before an upgrade of the Anjuna Nitro Kubernetes Toolset or when the Anjuna Nitro Kubernetes Toolset is no longer needed.

If you no longer need the Anjuna Nitro Kubernetes Toolset, delete the K8s TLS secret containing the TLS certificate and key for the Anjuna Nitro Webhook. If you are upgrading, do not delete the K8s TLS secret.

$ kubectl delete secret anjuna-nitro-webhook-cert

If you used Helm to deploy the Anjuna Nitro Kubernetes Toolset, go to the Helm teardown subsection below. Otherwise, go to the Manual teardown subsection.

Helm teardown

Uninstall the resources using Helm. Use "anjuna-tools" as the Helm Chart name:

$ helm uninstall --wait anjuna-tools

Manual teardown

Delete the Anjuna Nitro Webhook Pod:

$ kubectl delete -f \
      helm-charts/anjuna-tools/templates/device-manager-daemonset.yaml

Delete the Anjuna Nitro Device Manager DaemonSet:

$ kubectl delete -f \
      helm-charts/anjuna-tools/templates/anjuna-nitro-webhook.yaml