Skip to content

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

Description

@damingerdai

问题:

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions