kubectl get cs
controller-manager Unhealthy Get "http://127.0.0.1:10252/healthz": dial tcp 127.0.0.1:10252: connect: connection refused scheduler Unhealthy Get "http://127.0.0.1:10251/healthz": dial tcp 127.0.0.1:10251: connect: connection refused etcd-0 Healthy {"health":"true"}
cd /etc/kubernetes/manifests [root@master manifests]# ls etcd.yaml kube-apiserver.yaml kube-controller-manager.yaml kube-scheduler.yaml
修改里面的配置文件
systemctl restart kubelet
重启各个节点的kubelet
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)