sfg*_*ups 2 kubernetes kubeadm
将centos 7节点加入群集1.9.0时,kubeadm join命令会显示此错误消息.
Failed to request cluster info, will try again: [Get https://10.10.10.10:6443/api/v1/namespaces/kube-public/configmaps/cluster-info: x509: certificate has expired or is not yet valid]
我昨天晚上得到了这条消息,今天早上运行这个命令时它起了作用.我今天早上删除并尝试创建群集,同样给出相同的错误消息.
kubeadm join --token f115fe.f0eea05182abe63a 10.10.10.10:6443 --discovery-token-ca-cert-hash sha256:48d4dc90a08ff73a0cfc63e30a313aaf1903fd51da8f9ce4cc79f95ce529b8d1
[discovery] Created cluster-info discovery client, requesting info from "https://10.10.10.10:6443"
[discovery] Requesting info from "https://10.10.10.10:6443" again to validate TLS against the pinned public key
[discovery] Failed to request cluster info, will try again: [Get https://10.10.10.10:6443/api/v1/namespaces/kube-public/configmaps/cluster-info: x509: certificate has expired or is not yet valid]
[discovery] Failed to request cluster info, will try again: [Get https://10.10.10.10:6443/api/v1/namespaces/kube-public/configmaps/cluster-info: x509: certificate has expired or is not yet valid]
Run Code Online (Sandbox Code Playgroud)
如何解决此错误消息?
谢谢SR
| 归档时间: |
|
| 查看次数: |
4992 次 |
| 最近记录: |