🌟 preface
Hello, I'm Edison 😎
Today is the third in our "cloud native" series: "deploying k8s clusters";
Let's get it!
1. Installation requirements
Before starting, the deployment of Kubernetes cluster machines needs to meet the following conditions:
One or more machines, operating system centos7 8-86 ...
Posted by airric on Mon, 18 Apr 2022 11:49:49 +0300
🟧 1. Basic composition of docker
🟠1.1 image
Image is a read-only template, which contains instructions for creating docker containers. One image can create many containers. The image is equivalent to the "source code" of the container. The docker image file is similar to the Java class template, and the docker container insta ...
Posted by pingu on Sun, 17 Apr 2022 05:11:27 +0300
Introduction to KongKong is a cloud native, platform agnostic and scalable API gateway, which is famous for its high performance and scalability through plug-ins.By providing proxy, routing, load balancing, health check, authentication and other functions, Kong can easily coordinate micro service or traditional API traffic as the central layer. ...
Posted by 88fingers on Sat, 16 Apr 2022 09:39:50 +0300
problem
Docker for Mac cannot directly access docker containers through IP on macOS, but only through the export port. This problem is described in the official document describe , for most cases, export is sufficient. However, there will be problems when testing some clusters. For example, when building HBase cluster, many containers in the c ...
Posted by Crysma on Sat, 16 Apr 2022 03:02:27 +0300
Operating system: CentOS-7.8 kubernets version: 1.20.4 docker version: 20.10.3
This is an installation tutorial, including docker installation, kubernetes installation and Kube flannel network plug-in installation. The whole installation process uses the domestic network environment. With the support of Alibaba cloud's image service, the ins ...
Provided by libnetwork in Docker 4 drives , they have their own advantages, but in fact, each method has certain limitations. Suppose we need to operate a data center network. We have many host computers. Hundreds or even thousands of Docker containers are running on each host computer. The details of using four network drivers are as follows. ...
Posted by KeitaroHimura on Fri, 15 Apr 2022 16:30:56 +0300
Three ways of docker container data persistence
docker provides three ways to mount data from the host to the container:
volumes: Docker is the best way to manage part of the host file system (/ var / lib / docker / volumes) to save data.
bind mounts: Mount files or directories from any location on the host to the container.
tmpfs:: mount i ...
Posted by Donny Bahama on Thu, 14 Apr 2022 07:39:05 +0300
Deploy Nginx
Looking for images
docker search nginx: the latest version by defaultView different version information on the official website
Download Image
docker pull nginx
[root@iZwz9hv1phm24s3jicy8x1Z ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx latest 605c77e624dd 3 months ago 141MB
...
Posted by hoboman on Thu, 14 Apr 2022 03:48:21 +0300
After the Spring Festival in 2021, Kubernetes is new again.
Kubernetes 1.20.4 has been officially released, and highly available clusters can also be upgraded directly (hub.docker.com has been stopped, and registry.cn-hangzhou.aliyuncs.com/google_containers is used). Fast upgrade (including domestic image quick download link) includes ...
Posted by adamjblakey on Wed, 13 Apr 2022 19:33:51 +0300