Rancher 集群整体重启后,集群启动失败

ranch容器保错:

ClusterController c-xxam [user-controllers-controller] failed with : failed to start user controllers for cluster c-xxam: failed to contact server: Get https://192.168.0.100:6443/api/v1/namespaces/kube-system?timeout=30s: read tcp 127.0.0.1:48386->127.0.0.1:6443: read: connection reset by peer

6443为apiserver,发现kube-apiserver容器频繁重启,并且报错:

Err :connection error: desc = "transport: Error while dialing dial tcp 192.168.0.100:2379: connect: no route to host". Reconnecting...

怀疑是服务器重启后,防火墙启动,导致连接失败,使用:

Systemic stop firewalld
systemctl disable firewalld

关闭防火墙后,集群正常

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐