`eksctl anywhere delete cluster -f` requires `pwd` to be the upper level of the provided file.
Open
area/cli
kind/bug
team/cli
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
1. Create a cluster with `eksctl anywhere create cluster -f ...`
2. `cd ${somewhere else}`
3. run `eksctl anywhere delete cluster -f ~/path/to/cluster.yaml`
Expected: Cluster gets deleted
Actual: `Error: KubeConfig doesn't exists for cluster ${clustername}`
Contributor guide
Research direction
Start with the `eksctl anywhere delete cluster -f` command and reproduce the failure by running it from a directory other than the one containing the cluster file. Trace how the provided path is used to find the kubeconfig; done means deletion succeeds when `-f` receives `~/path/to/cluster.yaml` from another working directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100