k8s storage volume (empyDir;hostPath;nfs)

k8s storage volume Table of contents One: emptyDir storage volume 1.1 Why use storage volumes 1.2 The role of emptyDir storage volume 1.3 Example Two: hostPath volume 2.1 Function 2.2 Example Three: nfs shared storage 3.1 Install and configure nfs service 3.2 master node operation One: emptyDir storage volume 1.1 Why use storage volumes The […]

NFS +inotify+rsync realizes remote mounting and real-time incremental backup of data

NFS Network File System Function: Users can use files on remote systems in the network just like accessing their own local file system Principle: User process–>RPC service (portman)–>tcp/ip protocol stack–>After remote host RPC service–>Remote NFS service–>Remote host local disk data–>NFS service –>tcp/ip protocol stack–>Local data Advantages: It is easy to handle problems such as sission […]

Nginx reverse proxy NFS

Author: Dubi Guxing Official website:http://anyamaze.com Public account: Cloud Combat Foreword Nginx is a lightweight, high-performance HTTP and reverse proxy web server, and also provides IMAP/POP3/SMTP services. It is characterized by its small memory footprint and strong concurrency capabilities. It is famous for its stability, rich feature set, simple configuration files and low system resource consumption. […]

NFS service and FTP service

Table of Contents 1. NFS remote shared storage NFS remote share 2. FTP file service 1. Preparation 2. Install and configure the server 3. Edit configuration file 4. Local testing 5. Install and configure the client 3. Configure local user login via ftp 1. Create the aren user with a password of 123 2. Configure […]

k8s nfs mysql deployment

#Method 1 uses pv pvc mode — #Method 1 uses pv pvc mode — apiVersion: v1 kind: PersistentVolume metadata: name: pv100d002 spec: capacity: storage: 100Mi volumeMode: Filesystem accessModes: – ReadWriteOnce persistentVolumeReclaimPolicy: Recycle storageClassName: local-storage mountOptions: – hard -nfsvers=4.1 nfs: path: /data/nfs/db/pv100d002 server: 192.168.155.130 — # https://kubernetes.io/docs/concepts/storage/persistent-volumes/ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysqlpvc002 namespace:default labels: […]

K8S uses NFS to complete data persistence

Article directory Why we need to persist data NFS environment setup Native data mounting PV&PVC ConfigMap Why do we need to persist data If we now have a 3-copy nginx service in the entire cluster environment, we put our front-end code under the html file. Here we use 111 to represent our front-end resources. You […]

nginx+tomcat+nfs cluster deployment

Architecture analysis: nginx proxies external web access requests, and two or more tomcat servers provide real web services. In order to ensure the uniformity of all users accessing the website, the website root directories of all tomcat servers point to NFS (Database server in the picture) shared directory Experimental deployment environment sequence NFS→Tomcat→Nginx Experimental deployment […]

Linux NFS server

Table of Contents Linux NFS server Introduction NFS background introduction Production application scenarios How NFS works NFS workflow diagram process NFS installation Install nfs service Install rpc service Start the rpcbind service and set auto-start at boot Start the nfs service and set auto-start at boot NFS configuration file Main configuration file analysis Example Case […]

RHCE – 11. NFS server

NFS server 1. Introduction 1. NFS background introduction 2. Production application scenarios 2. How NFS works 1. Example diagram 2. Process 3. Use of NFS 1. Installation 2. Configuration file 3. Main configuration file analysis 3.1 Experiment 1 4. NFS account mapping 4.1 Experiment 2 4.2 Experiment 3 4. autofs automatic mounting service 1. Causes […]