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
JavaSwing (Top Container - JFrame Class)
The first step in creating a GUI program is to create a container class to accommodate other components, a common window being a container. Containers are also components that organize, manage, and display other components.
1. Overview of Top Containers
Top-level containers are the basis for ...
Posted by DarkWater on Mon, 06 Dec 2021 19:24:12 +0100
Deep understanding of POD
Deep understanding of POD (3)
1. YAML file
In the previous course, we used some YAML files to create related resources when installing kubernetes cluster, but many students are still very unfamiliar with YAML files. So let's take a brief look at how YAML files work, use YAML files to define a kubernetes pod, and then define a kubernetes deploym ...
Posted by psunshine on Mon, 06 Dec 2021 01:29:46 +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
docker container network configuration
The Linux kernel implements namespace creation
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 privileges when ...
Posted by Spartan 117 on Sat, 04 Dec 2021 19:46:55 +0100
Docker-Private Warehouse Establishment, Cgroup Resource Limitation
Catalog
1. Establishment of private warehouses
1. Download Private Warehouse
2. Download Mirror
3. Configure docker engine terminal
4. Mount containers and Daemons
5. Mirror Upload Mirror Warehouse
6. Private Warehouse Download
2. Cgroup Resources
1.CPU Usage Control
2. Test cpu and memory usage with stress test tool
3.Cgroups-Priori ...
Posted by FutonGuy on Fri, 03 Dec 2021 19:56:10 +0100
Virtual network of Docker container
1 virtualized network
The Linux kernel supports six namespaces. As long as there are corresponding client tools in the user space, you can operate on the corresponding namespaces.
The host name and domain name are called UTSUSER's name: USERMount file system: MountIPC for interprocess communicationProcess ID: PidNetwork: Net As one of ...
Posted by powah on Fri, 03 Dec 2021 14:56:59 +0100
Iterator iterator traverses Collection [java]
Traversing Collection with Iterator
Our Iterator is an interface -- what we can call an iterator interface An instance object of the implementation class of the Iterator interface is what we call an iterator (an iterator is really one of the design patterns) We created an instance object of the implementation class of the Iterator interface ...
Posted by maxsslade on Thu, 02 Dec 2021 20:19:49 +0100
Summary of 40 commands necessary for Linux operation and maintenance
1. Delete 0 byte file
find -type f -size 0 -exec rm -rf {} \;
2. View process
Sort by memory size
PS -e -o "%C : %p : %z : %a"|sort -k5 -nr
3. Sorted by CPU utilization from large to small
ps -e -o "%C : %p : %z : %a"|sort -nr
4. Print the URL in the cache
grep -r -a jpg /data/cache/* | strings | grep "http:" | awk -F'http:' '{print "ht ...
Posted by $Three3 on Mon, 29 Nov 2021 04:53:23 +0100