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

Destroy error - no kubeconfig #7

Open
gelo22 opened this issue May 3, 2022 · 0 comments
Open

Destroy error - no kubeconfig #7

gelo22 opened this issue May 3, 2022 · 0 comments

Comments

@gelo22
Copy link

gelo22 commented May 3, 2022

Description

Project deployed regarding to readme
I use tools from clusterdev container to deploy my project via bash regarding to mentioned readme.
After successful deploy I did exit from container. After exit some files apparently removed, except one mount.
After that you can't destroy cluster without additional apply.

What expected:

cdev destroy -l debug | tee destroy.log should destroy cluster without errors

How to reproduce

Deploy project regarding to readme
Exit from container:

exit

Execute bash in container and run some commands, exit container:

cdev_bash
kubectl get ns
kubectl get pod
exit

Execute bash in container again and try to destroy project:

cdev_bash
cdev destroy -l debug | tee destroy.log

You should see error, where cluster name is nagl6:

Error: Kubernetes cluster unreachable: stat /tmp/kubeconfig_nagl6: no such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant