添加node成功,但是在master运行kubectl get nodes 看不到子节点
来源:1-7 安装dashboard和heapster并验证集群安装结果
春松
2018-10-05
运行kubeadm join 命令后如下:
[preflight] Running pre-flight checks.
[WARNING FileExisting-crictl]: crictl not found in system path
Suggestion: go get github.com/kubernetes-incubator/cri-tools/cmd/crictl
[preflight] Starting the kubelet service
[discovery] Trying to connect to API Server “XXXX”
[discovery] Created cluster-info discovery client, requesting info from “https://XXXX:6443”
[discovery] Requesting info from “https://1XXXX:6443” again to validate TLS against the pinned public key
[discovery] Cluster info signature and contents are valid and TLS certificate validates against pinned roots, will use API Server “XXXX:6443”
[discovery] Successfully established connection with API Server “192.168.1.13:6443”
This node has joined the cluster:
- Certificate signing request was sent to master and a response
was received. - The Kubelet was informed of the new secure connection details.
Run ‘kubectl get nodes’ on the master to see this node join the cluster.
在master上运行kubectl get nodes 后获取不到子节点且使用kubectl get pods -n kube-system -o wide获取的服务状态很多变成pending了。
3回答
-
遇见未来的你
2019-06-18
网络插件安装了吗?
00 -
慕粉2143548772
2019-05-14
你解决了吗?我跟你一样的问题
00 -
春松
提问者
2018-10-05
修改hostsname 及hosts文件
012018-10-09
相似问题