k8s-1.9.1-步骤五(启动master,node节点服务)

----------------------------------------------------------------------------------------------------------------------------
执行主机:192.168.1.15and16and18
systemctl daemon-reload
systemctl restart kube-apiserver
systemctl status kube-apiserver
systemctl restart kube-controller-manager
systemctl status kube-controller-manager
systemctl restart kube-scheduler
systemctl status kube-scheduler
systemctl restart kubelet
systemctl status kubelet
systemctl restart kube-proxy
systemctl status kube-proxy
----------------------------------------------------------------------------------------------------------------------------
执行主机:192.168.1.15or16or18
#通过所有集群认证kubectl get csr

kubectl get csr | awk '/Pending/ {print $1}' | xargs kubectl certificate approve


三台已经全部加入集群
kubectl get nodes






你可能感兴趣的:(docker)