安装问题
来源:7-4 预先准备环境
qq_孤狼_59
2019-04-08
[controlPlane] Failed to bring up Control Plane: Failed to verify healthcheck: Failed to check https://localhost:6443/healthz for service [kube-apiserver] on host [192.168.0.120]: Get https://localhost:6443/healthz: read tcp [::1]:40914->[::1]:6443: read: connection reset by peer, log: I0408 05:50:10.337476 1 plugins.go:161] Loaded 6 validating admission controller(s) successfully in the following order: LimitRanger,ServiceAccount,Priority,PersistentVolumeClaimResize,ValidatingAdmissionWebhook,ResourceQuota.
老师 这个问题 怎么解决呀 我是用docker进行安装的
sudo docker run -d -v <主机路径>:/var/lib/rancher/ --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:stable
1回答
-
刘果国
2019-04-08
看你的命令是跑的rancher啊,实在抱歉没搞过rancher可能帮不到你。不过从日志看是检查apiserver状态失败了。你可以直接登录到容器中,执行一下curl -k https://localhost:6443/healthz看看是否可以。如果不行的话检查一下apiserver的日志
00
相似问题
回答 1