The path to growth as a programmer Internet/Programmer/Technology/Data Sharing focus on This article should take approximately 11 minutes to read. From: juejin.cn/post/7259949655583506490 1Background At present, online business volume is increasing day by day, with daily orders exceeding tens of millions, capital flows are large, and capital security has become a key concern. In order to […]
Tag: volumes
Solved: Error from server (Timeout): timeout expired waiting for volumes to attach or mount for pod pod
Blogger Maotouhu () takes you to Go to New World? Maotouhu recommends a list of necessary technology stacks for programmers: Cloud native technology Cloud Native: Golang Docker Kubernetes ? Helm Serverless ?AWS Lambda Google Cloud Functions Microservices Envoy Istio Prometheus Blog homepage: Maotouhu’s blog “Complete Column of Interview Questions” Articles with pictures and texts Vivid […]
kubernetes cluster orchestration – k8s storage (volumes, persistent volumes, statefulset controller)
volumes emptyDir volume vim emptydir.yaml apiVersion: v1 Kind: Pod metadata: name: vol1 spec: containers: – image: busyboxplus name: vm1 command: [“sleep”, “300”] volumeMounts: – mountPath: /cache name: cache-volume – name: vm2 image: nginx volumeMounts: – mountPath: /usr/share/nginx/html name: cache-volume volumes: – name: cache-volume emptyDir: medium: Memory sizeLimit: 100Mi kubectl apply -f emptydir.yaml kubectl get pod […]
Linux creates logical volumes and expands them (super detailed)
Table of Contents ?edit 1. Concept analysis 1. LV logical volume 2. PV physical volume 3. VG volume group 2. Preparation before expansion 3. Create a logical volume and expand it 1. Open the virtual machine 2. Enter the root user 3. Check the newly added hard drive 4. Create a primary partition 5. Create […]
[Docker] 3. Docker deploys nginx, maps ports, and mounts data volumes
1.Docker Deployment Nginx and port mapping Docker deploy Nginx, first you need to download the nginx image, and then start the image to run an nginx container. 1. Download nginx image and start the container #Check whether there is an nginx mirror: No nginx mirror was found [root@localhost zph]# docker images | grep nginx #Download […]
Docker data volumes and their usage (taking Nginx static file deployment as an example)
What is a docker data volume? To figure out what a docker data volume is, let’s first look at a question: Install and run the Nginx image, see ===》7. Demonstration of common docker instructions (taking nginx installation as an example) After we successfully deploy Nginx, we want to deploy static files. At this time, we […]
RAID and LVM Configuration Guide: How to create, expand, and manage RAID devices and logical volumes
Article directory 1 Introduction 1.1 What is RAID and LVM 1.2 The role and advantages of RAID and LVM 2. RAID configuration command: mdadm 2.1 Install mdadm 2.2 Create RAID device 2.2.1 RAID 0 2.2.2 RAID 1 2.2.3 RAID 5 2.2.4 RAID 10 2.3 Add disk to RAID device 2.4 Removing disks from RAID devices […]
[Docker Concepts and Practice 5] Container data volumes and -v and -mount
1. Description The main content of this article is to explain what a data volume is, the purpose of a data volume, how to generate a data volume, mount the data volume on the container, and the -v and -mount methods. 2. Data volume concept 2.1 Data Volume Target The purpose of docker data volumes […]
SpringBoot implements Excel import and export, designed for millions of data volumes
SpringBoot implements Excel import and export, designed for millions of data volumes Requirement background Users can export all product data by clicking the Export All button on the UI interface; The number of exported records may be more than one million, or even two million; Requirement design If data is imported synchronously, the interface will […]
RHEL7 configures LVM Mirror to create shared volumes
Article directory Preface 1. Configure LVM mirror volume 1.1. Create PV 1.2. Create VG 1.3. Create LV 1.4. View LV 1.5. Format file system 1.6. Create a mount point and mount it 1.7. Write test data 2. Switch LVM shared volumes 2.1. Planned switching 2.1.1. Checking I/O Traffic 2.1.2. Node 1 uninstalls the mount point […]