How to delete an RKE2 downstream cluster stuck in removing
This document (000021228) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
1. To get the name of the stuck cluster kubectl get clusters.management.cattle.io 2. To determine if it is in the provisioning process causing it to get stuck kubectl -n fleet-default get clusters.provisioning.cattle.io 3. If the cluster is in there then delete it with the command below kubectl -n fleet-default delete cluster.provisioning.cattle.io littletester 4. If it doesn't get deleted then remove the finalize(s) with the below command kubectl -n fleet-default edit cluster.provisioning.cattle.io littletester finalizers: - wrangler.cattle.io/provisioning-cluster-remove
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021228
- Creation Date: 07-Oct-2023
- Modified Date:11-Oct-2023
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com