kubernetes persistent storage PV and PVC
kubernetes persistent storage PV and PVC
1. Introduction of PV and PVC
Volume provides a very good data persistence scheme, but there are still deficiencies in manageability. Take the previous example of AWS EBS. To use Volume, Pod must know the following information in advance: The current Volume is from AWS EBS. The EBS Volume has been crea ...
Posted by DepretioN on Wed, 15 Dec 2021 03:28:25 +0100
Aria2 creates offline network disk
Aria2 creates offline network disk
Official website Construction conditions:
Own ladderThe server should preferably be foreign, which will save a lot of problems
Step 1:
docker runs p3terx / aria2 Pro
docker run -d \
--name aria2-pro \
--restart unless-stopped \
--log-opt max-size=1m \
-e UMASK_SET=022 \
-e RPC_SECRET= <TOKEN& ...
Posted by sbunse on Tue, 14 Dec 2021 23:08:58 +0100
docker---dockerfile writing & & Optimization
catalogue
1, dockerfile layering principle
1.docker image layering (based on aufs)
2. Technology involved
2, Written by dockerfile
1.dockerfile operation instruction
2. Prepare dockerfile file
2.1 example 1:
2.2 example 2:
III. dockerfile optimization
1. Optimization mode
2. Optimize nginx dockerfile
summary
1, dockerfile lay ...
Posted by Scooby Doo on Tue, 14 Dec 2021 10:07:36 +0100
Docker gitlab / gitlab CE upgrade
reason:
It is found that the server occupies 100% of the memory. Execute the command to check the memory usage
ps aux | head -1;ps aux |grep -v PID |sort -rn -k +4 | head -20
It is found that the / tmp/juma directory occupies too much memory, but the local directory does not have the / tmp/juma directory. Through search and troubles ...
Posted by Paul Ferrie on Thu, 09 Dec 2021 02:43:56 +0100
Configuration of docker network
Configuration of docker network
The creation of namespace in Linux kernel
ip netns command
You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it yourself. ...
Posted by jeffkee on Wed, 08 Dec 2021 00:08:52 +0100
Introduction and Practice of k8s
1. Kubernetes Installation
Chinese Community of Kubernetes|Chinese Documentation
Set Ali Cloud Mirror
vim /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=http://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/ enabled=1 gpgcheck=0
Install minikube
curl -LO https://storage.googleapis.com/mi ...
Posted by coldwerturkey on Tue, 07 Dec 2021 20:23:29 +0100
Deploy maven project based on Jianmu CI
1. Preparatory work
Operating environment:
Test environment:
Operating system: Centos7cpu: Quad CoreMemory: 4Gdocker version: 20.10.8 Jianmu CI version: v2.0.0
2. How to install Jianmu CI
Use docker compose for deployment. For detailed instructions on how to use docker compose, please refer to the official docker document: https://docs.d ...
Posted by lrsdsout on Tue, 07 Dec 2021 12:18:46 +0100
Kubernetes uses kubedm to create clusters
For image download, domain name resolution and time synchronization, please click Alibaba open source mirror station
Practice environment
CentOS-7-x86_64-DVD-1810
Docker 19.03.9
Kubernetes version: v1.20.5
Before starting
One Linux operating system or more, compatible with deb,rpm
Ensure that each machine has 2G memory or more
Ensure th ...
Posted by rtsanderson on Mon, 06 Dec 2021 06:28:40 +0100
Docker Container Network Configuration
1 Linux Kernel Implements Namespace Creation
1.1 ip netns command
You can use the ip netns command to complete various operations on the Network Namespace. The ip netns command comes from the iproute installation package, which is usually installed by default. If not, install it yourself. Note: The ip netns command requires sudo privile ...
Posted by BeastRider on Sun, 05 Dec 2021 22:15:08 +0100
docker container network configuration
docker container network configuration
The creation of namespace in Linux kernel
ip netns command
You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it ...
Posted by quickphp on Sun, 05 Dec 2021 17:38:18 +0100