In vSphere Kubernetes Service, a guest cluster has it's KubeAdmControlPlane (KCP) deleted, there is no KubeAdmControlPlane (KCP) backup.
This delete was an unsupported action carried out from a Supervisor Control Plane node.
The KubeadmControlPlane (KCP) is a custom resource that is provided by the Kubernetes Cluster API, and that allows to manage a set of Machines hosting control plane nodes created with kubeadm.
If KCP is deleted this can have a catastrophic effect on the guest cluster it manages.
vSphere Kubernetes Service (VKS) 8.0 +
Guest cluster 1.30.1
The KCP will not be recreated. Deletion of KubeAdmControlPlane (KCP) is not a supported action and must not be done.
Deletion of the KCP is not a recommended action and doing so will effectively destroy the guest cluster and leave it unusable.
If a backup of the KCP exists;
- Restore the KCP backup
- After restore using Velero the guest cluster should become usable.
Link to Velero Backup / Restore guides are found here.
If a backup does not exist:
- Delete the affected guest cluster.
- Create a new KubeAdmControlPlane (KCP) and guest cluster.
- Move workload to the new cluster
Never delete KCP of a guest cluster.
Deleting the KubeAdmControlPlane (KCP) of a guest cluster will effectively make a guest cluster unusable.