Also called un-importing
- In Rancher Manager go to Cluster Management
- Tick the box next to cluster1-capi
- Click the Delete button
- Type cluster1-capi in the text box
- Click the Delete button
- Run the following command to check that the CAPI cluster hasn't been deleted:
kubectl get clusters.cluster.x-k8s.io
- You should see default/cluster1 in the output
- Run the following command:
kubectl get clusters.cluster.x-k8s.io cluster1 -o yaml
- Check there is a annotation called imported with a value of true
- Wait a few minutes and ensure the cluster doesn't appear in the *Cluster Management screen in Rancher Manager