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

版权声明:本文为博主原创文章,未经博主允许不得转载。http://www.glshuyuan.club/ https://blog.csdn.net/weixin_35494719/article/details/79890164
----------------------------------------------------------------------------------------------------------------------------
执行主机: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






博主设置当前文章不允许评论。

没有更多推荐了,返回首页