k3s kubectl get nodes 提示 :certificate signed by unknown authority

急急急,root@k3s-master-01:/var/log# kubectl get nodes
Unable to connect to the server: x509: certificate signed by unknown authority

已邀请:

Mar 10 14:17:58 k3s-master-01 k3s[8048]: time=”2021-03-10T14:17:58.398846377Z” level=error msg=”CA cert validation failed: Get \”https://127.0.0.1:6443/cacerts\“: x509: certificate signed by unknown authority”
Mar 10 14:17:58 k3s-master-01 k3s[8048]: time=”2021-03-10T14:17:58.399075250Z” level=info msg=”Cluster-Http-Server 2021/03/10 14:17:58 http: TLS handshake error from 127.0.0.1https://www.webpagefx.com/tools/emoji-cheat-sheet/graphics/emojis/37584.png remote error: tls: bad certificate”

要回复问题请先登录注册