1.规划:
节点1: k8s-m1 192.168.38.128
节点2: k8s-m2 192.168.38.129
节点3: k8s-m3 192.168.38.130
节点4: k8s-n1 192.168.38.131
2.设置主机名和配置hosts解析:(所有节点)
[root@k8s-m1 ~]# cat /etc/hosts
127.0.0.1
1.规划:
节点1: k8s-m1 192.168.38.128
节点2: k8s-m2 192.168.38.129
节点3: k8s-m3 192.168.38.130
节点4: k8s-n1 192.168.38.131
2.设置主机名和配置hosts解析:(所有节点)
[root@k8s-m1 ~]# cat /etc/hosts
127.0.0.1