欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 文旅 > 八卦 > 验证可行分享-Rancher部署文档

验证可行分享-Rancher部署文档

2025/5/16 23:48:52 来源:https://blog.csdn.net/evgd2288/article/details/147991078  浏览:    关键词:验证可行分享-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

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词