Deleting eks anywhere cluster failure with getting total count of nodes
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
**What happened**:
Attempting to delete an eks anywhere clustering using the following command
eksctl anywhere delete cluster mgmt-dev --bundles-override bundle-release.yaml results in a failure.
Error: failed to delete cluster: getting the total count of nodes: getting KubeadmControlPlane for cluster mgmt-dev: getting kubeadmcontrolplane: Error from server (NotFound): kubeadmcontrolplanes.controlplane.cluster.x-k8s.io "mgmt-dev" not found
**What you expected to happen**:
I expect to have the eks cluster deleted.
**How to reproduce it (as minimally and precisely as possible)**:
Not sure how I got to this state.
**Anything else we need to know?**:
The cluster was originally created using the following command per airgap documentation,
eksctl anywhere create cluster -f eksa-mgmt-cluster.yaml --bundles-override bundle-release.yaml
**Environment**:
- EKS Anywhere Release: v0.13.1
- EKS Distro Release: N/A
Contributor guide
Research direction
Start by reviewing the reported `eksctl anywhere delete cluster mgmt-dev --bundles-override bundle-release.yaml` command, the `eksa-mgmt-cluster.yaml` and `bundle-release.yaml` inputs, and the NotFound error for the KubeadmControlPlane. Reproduce the deletion failure if possible and determine the expected behavior when that resource is already absent; done means the cluster deletion completes successfully or reports a clear recoverable state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes
- Domain
- cloud, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100