概述
在虚拟机中部署服务,进行IP规划,进行相关的前期准备
3 张网卡 = 2个不同的网段 + 1个NAT
概述截图
NAT 截图
VMnet0 截图
VMnet1 截图
总结:
网卡(网络适配器) | 名称 | IP网段 | 备注 |
NAT | ens33 | 192.168.139.0 | |
VMnet0 | ens34 | ||
VMnet1 | ens35 | 192.168.164.0 |
IP 规划备忘
主机项目 | IP | ||||
序号 | 名字 | 功能 | VMNET 0 | VMNET 1 | NAT |
0 | orgin | 界面 | 192.168.164.10 | 192.168.139.10 | |
1 | Reporsitory | 仓库 | 192.168.164.16 | 192.168.139.16 | |
2 | master01 | H-K8S-1 | 192.168.164.11 | 192.168.139.11 | |
3 | master02 | H-K8S-2 | 192.168.164.12 | 192.168.139.12 | |
4 | master03 | H-K8S-3 | 192.168.164.13 | 192.168.139.13 | |
5 | node04 | H-K8S-1 | 192.168.164.14 | 192.168.139.14 | |
6 | node05 | H-K8S-2 | 192.168.164.15 | 192.168.139.15 | |
7 | node07 | H-K8S-3 | 192.168.164.17 | 192.168.139.17 | |
8 | DB01 | DataBase | 192.168.164.51 | 192.168.139.51 | |
9 | DB02 | DataBase | 192.168.164.52 | 192.168.139.52 | |
10 | DB03 | DataBase | 192.168.164.53 | 192.168.139.53 | |
11 | DB04 | DataBase | 192.168.164.54 | 192.168.139.54 | |
12 | DB05 | DataBase | 192.168.164.55 | 192.168.139.55 | |
13 | DB06 | DataBase | 192.168.164.56 | 192.168.139.56 | |
node6 | test | 192.168.164.26 | 192.168.139.26 |