记一次K8S项目flanneld启动失败错误
node节点启动falnneld失败,查看日志有以下报错信息
/var/log/message
报错信息
certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "etcd CA")
``
错/opt/etcd/ssl/误原因,node节点的etcd的ssl证书和其他节点的不一致```
解决方法:从其他节点复制ectd证书然后重启flanneld
scp /opt/etcd/ssl/* root@192.168.3.70:/opt/etcd/ssl/