2022-12-09 The first day of the 2022 Qatar World Cup semi-finals kicks off, and it gets more and more exciting
At the same time record the growth of the programmer~
1. Background
Since I expected to build an enterprise-level CICD environment, I started to try the conventional gitlab+jenkins+k8s+docker harbor+springboot and started to practic ...
Posted by cool-palace-ceo on Sat, 10 Dec 2022 16:42:51 +0300
Kubernetes cluster construction - kubeadm method
Kubeadm is a K8s deployment tool that provides kubeadm init and kubeadm join for rapid deployment of Kubernetes clusters.
Tool function:
kubeadm init: Initialize a Master nodekubeadm join: join the worker node to the clusterkubeadm upgrade: upgrade K8s versionkubeadm token: Manage the token ...
Posted by addie on Wed, 07 Dec 2022 09:37:35 +0300
illustrate
This time, 6 ports are used to do a front-end and back-end docker image deployment
8080,8081 are the ports of the two backend services 8082,8083 are the ports for the two front ends
The project uses nginx as a proxy to solve the cross-domain problem caused by different front-end and back-end ports, because I use both the front-end ...
Posted by knight on Sat, 05 Nov 2022 03:38:32 +0300
Containerized deployment
With the popularity of Docker technology, containerized deployment of projects is becoming more and more popular. The advantages of containerized deployment are as follows:
① It can ensure that each container has its own file system, CPU, memory, process space, etc.
②The resources required to run the application are ...
Posted by Hatch on Sat, 22 Oct 2022 02:38:03 +0300
Table of contents
introduction
1. Introduction to Docker-compose
2. YAML file format and preparation precautions
2.1, YAML file format
2.2. Notes on YAML format
2.3, YAML data structure
3. Docker Compose configuration common fields
Fourth, Docker-compose common commands
Five, compose deployment
6. Summary
introduction
Doc ...
Posted by livvylove on Fri, 21 Oct 2022 00:38:33 +0300
The systems used are Ubuntu 20.04 (64 bit) and Ubuntu 22.04 (64 bit)
Docker installation
Docker program installation
There are two ways to install Docker: one is to use the official script to install directly, and the other is to use apt to install according to the official tutorial I have tested both methods. Script installation is very con ...
Posted by Paavero on Sat, 27 Aug 2022 13:50:30 +0300
The RUN, CMD, and ENTRTPOINT instructions in the Dockerfile can all be used to specify the instructions running in the container, but there are subtle differences between the three.
simply put:
RUN
The RUN command is generally used to install software packages in the container or execute other commands, such as
RUN yum install -y telnet
RUN to ...
Posted by tullmejs on Sun, 22 May 2022 11:09:05 +0300