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

当k3s导出的kubeconfig遇到x509问题 #6

Open
damingerdai opened this issue Apr 13, 2023 · 0 comments
Open

当k3s导出的kubeconfig遇到x509问题 #6

damingerdai opened this issue Apr 13, 2023 · 0 comments

Comments

@damingerdai
Copy link
Owner

问题:

E0413 22:03:08.924399   10760 memcache.go:265] couldn't get current server API group list: Get "https://204.44.94.154:6443/api?timeout=32s": tls: failed to verify certificate: x509: certificate is valid for 10.43.0.1, 10.9.191.2, 127.0.0.1, ::1, not 204.44.94.154

解决方案:

curl -vk --resolve 204.44.94.154:6443:127.0.0.1  https://204.44.94.154:6443/ping

参考

Remote kubectl x509: certificate is valid for 127.0.0.1 k3s-io/k3s/#1381

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