1.从0安装kubernetes集群-安装docker
# 1.关闭selinux,关闭防火墙systemctl stop firewalld && systemctl disable firewalldsetenforce 0#vim /etc/selinux/config#SELINUX=disabled# 2.设置hosts# 注意IP#192.168.162.129 node1#192.168.162.130 ...