Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EKS cluster has not been deleted #248

Open
g-iannelli opened this issue Feb 14, 2023 · 1 comment
Open

EKS cluster has not been deleted #248

g-iannelli opened this issue Feb 14, 2023 · 1 comment
Labels
bug Something isn't working furyctl-ng

Comments

@g-iannelli
Copy link
Contributor

If you clean the cluster folder and execute the delete of kuberntes phase, the cluster will be kept.

pwd && ls -l
~/.furyctl/eks-barebone
total 0
drwxr-xr-x  3 user  staff   96 Feb 14 13:02 infrastructure
drwxr-xr-x  4 user  staff  128 Feb 14 17:42 vendor

furyctl-ng delete cluster -c barebone.yml --distro-location 'git::[email protected]:sighupio/fury-distribution.git?depth=1&ref=feature/furyctl-next' --phase kubernetes
INFO Downloading distribution...
INFO Validating dependencies...
WARNING: You are about to delete a cluster. This action is irreversible.
Are you sure you want to continue? Only 'yes' will be accepted to confirm.
yes
INFO Deleting kubernetes phase...
INFO kubernetes phase already executed, skipping...
❯ furyctl-ng delete cluster -c barebone.yml --distro-location 'git::[email protected]:sighupio/fury-distribution.git?depth=1&ref=feature/furyctl-next'
ERRO when running distribution phase, either the KUBECONFIG environment variable or the --kubeconfig flag should be set


aws eks list-clusters | tee
{
    "clusters": [
        "eks-barebone"
    ]
}
@ralgozino ralgozino added bug Something isn't working furyctl-ng labels Feb 14, 2023
@nutellinoit
Copy link
Member

I think that the delete now will also do the init before checking what to do, can you check it @alessiodionisi ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working furyctl-ng
Projects
None yet
Development

No branches or pull requests

4 participants