验证可行分享-Rancher部署文档
## 主机信息
### 主机需要开通的端口
```shell
https://docs.rancher.cn/docs/rancher2/installation/requirements/ports/_index/
```
### 集群镜像信息
```shell
https://docs.rancher.cn/docs/rancher2/installation/other-installation-methods/air-gap/populate-private-registry/_index
```
### 主机IP与角色
| IP | 角色 |
| ------------- | -------------------------- |
| 192.168.74.21 | master1(k8s master+etcd) |
| 192.168.74.22 | master2(k8s master+etcd) |
| 192.168.74.23 | master3(k8s master+etcd) |
| 192.168.74.24 | node1 |
| 192.168.74.26 | node2 |
| 192.168.74.12 | harbor |
## 环境信息
### 关闭防火墙
```shell
systemctl stop firewalld
systemctl disable firewalld
```
### 关闭SELinux
```shell
vi /etc/selinux/config
SELINUX=enforcing改为SELINUX=disabled
```
### 安装基础软件
```shell
yum install vim telnet net-tools bash-completion yum-utils device-mapper-persistent-data lvm2 nfs-utils -y
```
### 设置DNS
```shell
cat