Some knowledge points about containers and some codes

generic paradigm 1. Introduction to generics: 1.1 basic concepts of generics: 1.2 benefits of generics: Better code readability (no coercion); Program more secure 1.3 erasure type: Type parameters written in generics during encoding will be removed by the compiler during compilation, which is called "type erasure" 2. Use of g ...

Posted by titeroy on Thu, 24 Feb 2022 10:09:23 +0100

docker learning notes

I Download docker and install it Docker Desktop official download address 1. Installing docker in CentOS 7 1. Use the official installation script to install automatically curl -sSL https://get.daocloud.io/docker | sh 2. Install docker engine community 2.Win10 installation Just keep clicking on the next step If not, check to see if Hyper ...

Posted by croakingtoad on Thu, 24 Feb 2022 09:30:51 +0100

Deploying K8s cluster using kubeadm on Ubuntu 20.04 LTS

Deploying K8s cluster using kubeadm on Ubuntu 20.04 LTS 1. Environmental Information MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports) macOS Big Sur Version 11.5.2 2.3 GHz Quad-Core Intel Core i7 16 GB MemoryVirtualBox 6.1.22 r144080Ubuntu 20.04.2 LTS server Although this experiment was conducted on Mac, it is still theoretically ap ...

Posted by Kyori on Tue, 22 Feb 2022 18:25:48 +0100

Kubernetes introduction to mastery | kubernetes life cycle

Pod life cycle Pod can have multiple containers in which applications run, but it may also have one or more Init containers that start before the application container The Init container is very similar to an ordinary container, except for the following two points: The Init container always runs until successful completionEach Init conta ...

Posted by Shad on Mon, 21 Feb 2022 08:38:20 +0100

Docker&Kubernetes ❀ Kubernetes cluster Pod controller - Deployment (Deploy)

1. Resource allocation list In order to better solve the problem of service arrangement, Kubernetes introduced the Deployment controller in v1.2. This controller does not directly manage the Pod, but indirectly manages the Pod by managing the ReplicaSet. Therefore, the function of Deployment is more powerful than that of the ReplicaSet; ...

Posted by ragy on Mon, 21 Feb 2022 04:32:04 +0100

docker basic command

summary: Since bloggers use docker in their daily development work, they specially find some materials for in-depth study of docker technology, and introduce it to you in combination with their commonly used docker commands in their daily work. Docker commands can be roughly divided into three categories: startup commands, image commands and c ...

Posted by mikebr on Sun, 20 Feb 2022 17:21:11 +0100

list of STL containers

Traversal of container: void printlist(list<int>& L) { for (list<int>::const_iterator it = L.begin(); it != L.end(); it++) { cout << *it << " "; } cout << endl; } I Constructor List < int LST > / / list Cao Yong template class try next year, the default construction form of the object list(beg,en ...

Posted by PHPMagician on Sun, 20 Feb 2022 15:38:29 +0100

[Docker] common Docker commands. Help command, mirror command, container command

Docker common commands Docker Hub official website: https://hub.docker.com/ 1. Help command docker version # Display Docker version information. docker info # Displays Docker system information, including the number of images and containers docker --help # help Among the three commands, docker --help is the most commonly used. When ...

Posted by ParkerPHP on Sun, 20 Feb 2022 14:16:59 +0100

Installation and use of Docker

catalogue 1, Docker introduction 2, Installation 1. Uninstall old version 2. Install system tools 3. Add Docker yum 4. Update source cache 5. Install Docker 3, Basic use 1. Preparatory work 2. Image download 4, Container 1. Create container 2. View current container 3. Delete container 4. Entry and exit 1, Docker introducti ...

Posted by friendlylad on Sun, 20 Feb 2022 12:41:34 +0100

Kube scheduler source code analysis - initialization and startup analysis

Kube scheduler source code analysis (1) - initialization and startup analysis Introduction to Kube scheduler Kube scheduler component is one of the core components in kubernetes. It is mainly responsible for the scheduling of pod resource objects. Specifically, Kube scheduler component is responsible for scheduling the unscheduled pod to the ...

Posted by newzub on Sun, 20 Feb 2022 07:36:20 +0100