当前位置:网站首页>Insider of container network hard core technology (7) sailing on the sea depends on the helmsman
Insider of container network hard core technology (7) sailing on the sea depends on the helmsman
2022-07-28 01:16:00 【User 8289326】
Let's summarize based on docker The container network of the engine :
Every docker The container needs to be connected to the network , In order to provide external services , Otherwise, its existence has no meaning . therefore , On each host by default , There is one docker0 bridge , All containers are connected to this bridge by default , As shown in the figure below :
Pictured ,172.17.0.2 This container runs ubuntu example , and 172.17.0.3 This container runs nginx example , Both can be through docker0 Interworking .
For accessing a network other than the host , Need to pass through NAT:
Of course , External access to the container inside the host , It also needs to go through NAT.
For mutual visits between two host computers , You can use swarm Implementation is based on VXLAN Interworking of tunnels :
With these basic container network mechanisms , We can build a container based external service system .
However , Only docker engine , Is not enough ……
----------------------- Split line -----------------------
We know , It is China's hundreds of millions of workers , Unite closely , Just defeated three mountains 、 The United Nations 、 Schistosomiasis and novel coronavirus .
We also know that , stay linux + docker In the system , Create a container 、 Destruction of the container 、 Connect the container to the network 、 Monitor container performance and other operations , All need to be done manually .
If a single container cannot meet the requirements of performance or function , Nor can it be expanded automatically by automatic means , Or couple and associate multiple containers with different functions .
Only let the container unite , To play a greater role !
DOCKERS OF THE WORLD, UNITE!
A ghost , The ghost of cloud primordial , Quietly wandering in the Internet field of China and the United States, where the productivity is the most developed ——
Engineers created a container layout platform :Kubernetes.
Kubernetes The literal meaning of is “ helmsman ”.
Kubernetes Container resources can be automatically scheduled , Create containers 、 Access network 、 Expansion and destruction , combination Harbor Mirror warehouse 、Istio API gateway 、Prometheus Performance monitoring 、Jenkins Build assembly lines and other components , It can realize from code submission to automatic deployment CI/CD( Continuous integration / Continuous development ), Make the container really drive into the blue ocean ——
Sailing in the sea depends on the helmsman !
“ helmsman ” kubernetes The architecture of is as follows :
In such a complex architecture , At present, we only need to master :
- Kubernetes The container resource allocation unit of is pod, One pod There can be multiple containers in , But yes pod The outside presents as a whole ( One IP Address );
- Kubernetes The container operation carrier of is node, One node Can run multiple Pod.node It has its own operating system ( It's usually Linux).
We can node Analogy to the host in the virtual machine world ,pod The analogy is... In the virtual machine world VM.
The following discussion is based on this .
Please look forward to the next issue ——
边栏推荐
- ABAP CDS Table Function介绍与示例
- 激光器芯片厂商陕西源杰半导体获广发证券、中信证券等8家投资机构入股
- The cooperation between starfish OS and metabell is just the beginning
- C language programming | single dog topic explanation
- If a table has nearly ten million data and crud is relatively slow, how to optimize it
- 晶方科技:光刻机厂商ASML为公司参与并购的Anteryon公司的最主要客户之一
- 华米科技“黄山2号”发布:AI性能提升7倍,功耗降低50%!
- Interface test practical project 02: read interface test documents and practice
- At the meeting on June 19, SMIC may set the fastest listing record in China!
- 容器网络硬核技术内幕 (7) 大海航行靠舵手
猜你喜欢

Use of postman

Jmeter在性能测试中的应用实践样例

C语言程序设计 | offsetof宏的讲解及其模拟实现

从功能测试到自动化测试,月薪突破30K+,我的6年测开经验。

Demo: the test interface receives duplicate data and creates documents in a short time

Un7.13: how to add, delete, modify and query in vs Code?

Operator depth anatomy

接口测试实战项目02:读懂接口测试文档,上手操练

Redis sentinel mode

Basic concept and classification of i/o equipment
随机推荐
Code random notes_ Hash_ 1002 find common characters
Self use drawing bed building tutorial
Swoole collaboration
Matlab drawing - points and vectors: method and source code of vector addition and subtraction
Examples of application of JMeter in performance testing
线性代数 【23】 概念的深入01 - Points坐标点和Vectors向量
Recommended system - indicators: CTR, CVR
Safety detection risk
论文赏析[ICLR18]联合句法和词汇学习的神经语言模型
华米科技“黄山2号”发布:AI性能提升7倍,功耗降低50%!
Tear the source code of gateway by hand, and tear the source code of workflow and load balancing today
One year anniversary of creation, Chongba young Lang
字节飞书人力资源套件三面
Introduction to the browser video frame operation method requestvideoframecallback()
华为回应美国封锁供应链:他们仍需为5G专利付费
C语言程序设计 | offsetof宏的讲解及其模拟实现
C language programming | explanation and Simulation of offsetof macro
Starfish Os打造的元宇宙生态,跟MetaBell的合作只是开始
比亚迪半导体完成8亿元A+轮融资:30家知名投资机构入局,估值已达102亿元!
110. In depth introduction to sap ui5 fileuploader control - why do you need a hidden iframe