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

Unable to connect to the server: x509: certificate signed by unknown authority #137

Open
Gaibhne opened this issue Jan 3, 2023 · 3 comments

Comments

@Gaibhne
Copy link

Gaibhne commented Jan 3, 2023

Every kubetail command other than --help responds with the above. Regular usage of kubectl/k works perfectly fine.

@jj18578616903
Copy link

mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config

@Gaibhne
Copy link
Author

Gaibhne commented Jan 9, 2023

I have no such file on my system, neither in /etc/kubernetes nor elsewhere. Is it a problem that I am using k3s/Rancher ?

@johanhaleby
Copy link
Owner

Could be, not sure. Hard for me to replicate, I can only say that it works well for me :/

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

3 participants