Kubernetes集群部署-二进制方式
作者:互联网
一、服务器环境准备
服务器规划
IP地址 | 节点角色 | CPU | Memory | Hostname |
192.168.10.81 | master | ≥2 | ≥2G | k8s-master1 |
192.168.10.82 | master | ≥2 | ≥2G | k8s-master2 |
192.168.10.83 | master | ≥2 | ≥2G | k8s-master3 |
192.168.10.84 | worker | ≥2 | ≥2G | k8s-node1 |
192.168.10.85 | worker | ≥2 | ≥2G | k8s-node2 |
- 修改主机名及hosts文件
[root@k8s-master1 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.10.81 k8s-master1
192.168.10.82 k8s-master2
192.168.10.83 k8s-master3
192.168.10.84 k8s-node1
192.168.10.85 k8s-node2
标签:master1,Kubernetes,二进制,192.168,2G,集群,master,k8s,localhost 来源: https://www.cnblogs.com/helon/p/16387664.html