摘要:
结构图(提交规划好虚拟vip地址) 1、Nginx主备配置(4层复制)在http外面加一个stream stream { log_format main '$remote_addr $upstream_addr - [$time_local] $status $upstream_bytes_sent 阅读全文
摘要:
1、配置 Deployment,将里面的对应的参数替换成我们自己的 nfs 配置(nfs-client.yaml) kind: Deployment apiVersion: extensions/v1beta1 metadata: name: nfs-client-provisioner spec: 阅读全文
摘要:
创建pvc之前还要把nfs客户端装上 1、创建pvc cat pv2-nfs.yaml apiVersion: v1 kind: PersistentVolume metadata: name: pv2-nfs labels: app: nfs spec: capacity: storage: 2G 阅读全文
摘要:
基础概念就不总结了,直接搞起 1、安装 1、关闭防火墙 systemctl stop firewalld.service systemctl disable firewalld.service 2、安装配置 nfs yum -y install nfs-utils rpcbind 3、配置 nfs, 阅读全文