Uninstalling TIS Plus
If you want to offboard an individual cluster from TIS Plus, follow the first step.
If you want to completely uninstall TIS Plus, offboard the cluster then uninstall TIS Plus Control Plane.
At each step, check that you are using the kubectl context that refers to the Kubernetes cluster you wish to uninstall from
Offboard a Cluster
Offboard the cluster from TIS Plus
De-register the cluster with the running TIS+ Management Plane:
tctl delete cluster <cluster-name>
Delete the Control Plane install
Uninstall the control plane chart, and remove the resources created during the installation process that are untracked by Helm.
kubectl patch deployment tsb-operator-control-plane -n tis-plus-system -p '{"metadata":{"finalizers":null}}' --type=merge
kubectl patch controlplane controlplane tis-plus-system -p '{"metadata":{"finalizers":null}}' --type=merge
kubectl delete mutatingwebhookconfigurations.admissionregistration.k8s.io tsb-operator-control-plane
kubectl delete validatingwebhookconfigurations.admissionregistration.k8s.io tsb-operator-control-plane
helm uninstall tis-plus-cp --namespace tis-plus-systemKnown IssueIn some situations, the helm uninstall will not remove the
tis-plus-system
namespace. You should check and remove the namespace:kubectl delete namespace tis-plus-system --ignore-not-found
Unregister the Helm chart repo
Once done, you can then unregister Tetrate's Helm chart repo:
helm repo remove tis-plus-cp
Management Plane Uninstallation
If you are running the Management Plane in your own environment, you can uninstall it by follow these steps.
helm uninstall mp tetrate-tsb-helm/managementplane --namespace tsb
Once Helm has removed all the resources associated with the last release of the management plane chart, you will need to manually remove some resources created during the uninstallation process that are untracked by Helm.
kubectl delete serviceaccount tsb-helm-delete-hook --ignore-not-found
kubectl delete clusterrole tsb-helm-delete-hook --ignore-not-found
kubectl delete clusterrolebinding tsb-helm-delete-hook --ignore-not-found
kubectl delete validatingwebhookconfigurations.admissionregistration.k8s.io xcp-central-tsb
kubectl delete mutatingwebhookconfigurations.admissionregistration.k8s.io xcp-central-tsb