架构
| 服务器IP | 服务名称 | 硬件配置 |
| 192.168.1.100 | k8s-master | 8核、16G、120G |
| 192.168.1.101 | k8s-node1 | 8核、16G、120G |
| 192.168.1.102 | k8s-node2 | 8核、16G、120G |
| 192.168.1.103 | nfs | 2核、4G、500G |
操作系统:Rocky9.3
后续通过K8S部署GitLab、Harbor、Jenkins
一、环境准备
#关闭防火墙开机自启
systemctl disable firewalld
#关闭防火墙服务
systemctl stop firewalld
二、安装NFS服务
#通过yum安装
yum install -y nfs-utils rpcbind
#设置开机自启
systemctl enable rpcbind
systemctl enable nfs-server
#启动服务
systemctl start rpcbind

最低0.47元/天 解锁文章
6662

被折叠的 条评论
为什么被折叠?



