当前位置:网站首页>Kubernetes (1): introduction to kubernetes
Kubernetes (1): introduction to kubernetes
2020-11-07 16:50:00 【itread01】
Preface
Since last month , Because of the need of work and interest , Bloggers start learning Kubernetes, Up to now, it can be said that it is just a beginning . Learning alone is better than learning together , Later, the blogger will learn and present the learning content in the form of a blog post , I hope to discuss with you some questions , In constant communication, there are complementary , Learn together to improve . This series is named 【 Pride Kubernetes】, That's what it takes , Try to learn it well . Talk less , Now I'm proud of it Kubernetes The journey .
The goal is :
1、Kubernetes What is it ? Why Kubernetes?
2、Kubernetes and Docker Relationship of
3、Kubernetes Architecture of
Text
1、Kubernetes What is it ? Why Kubernetes?
In recent years, all of you have experienced the popularity of micro service , Whether it's a job interview , Or public number friends circle advertising training courses , It's about microservices . As more and more monomer projects become microservices , And the micro service splitting of the college case , There needs to be an application that can automatically schedule a large number of microservices 、 To configure 、 Supervision and troubleshooting , And this is Kubernetes The positioning of .
Take a look at the official website Kubernetes The definition of :Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications.
You can see it , It's an open source container choreography engine , This engine can be deployed automatically 、 Scaling and managing containerized applications . On the whole, it's not much different from what we summarized above .
That's it Kubernetes What is it , What are its advantages ? Why use it ?
1)、 Simplify application deployment : That is, you don't need to pay attention to which machine your application is deployed on ,Kubernetes It will automatically prepare the computing and storage resources you need . And as long as clusters are built in the same way , It can also ensure the consistency of the development test production environment .
2)、 Better use of hardware :Kubernetes When assigning an execution node to an application , Will automatically match the best nodes , Improve resource utilization .
3)、 Health check-up and self-healing :Kubernetes It will monitor the status of the node where your application is executing , When it fails , It will reschedule other nodes to fill in , There's no need for human participation .
4)、 Automatic expansion : Can make Kubernetes Automatically respond to the load of the application , For example, increase or decrease nodes .
2、Kubernetes and Docker Relationship of
Before we talk about their relationship , First of all, I want to mention Docker What is it .
Docker It's a package 、 Container platform for distributing and running applications . The container is equivalent to a lightweight virtual machine . Virtual machine is a new operating system based on host computer , The programs in the virtual machine are executed on this virtual operating system . The container, as a program, is still executed on the host's operating system , So compared with the virtual machine container, there is no need to create an additional set of operating system , Saving resources , More lightweight . Container isolation mechanism , By means of Linux Name space and cgroup To achieve .
Let's see Docker and Kubernetes Relationship of . From the first part above Kubernetes We know in the definition of ,Kubernetes It's a container choreography engine , Can manage containerized applications . This is what containerization means Docker, namely Kubernetes management Docker Containers that come out of containers . Of course, with the development of containerization Technology , except Docker outside ,Kubernetes Several other containerization technologies are also supported , such as containered、CRI-O etc. .
3、Kubernetes Architecture of
Kubernetes Architecture can be divided into two parts : Control panel and work node . The specific composition is shown in the figure below , Here you just need to have a general impression , We'll learn more about it later .
apiserver: yes Kubernetes The entry point for cluster operations , The external operation instruction comes first apiserver, Then it sends instructions to specific nodes / Service
etcd: yes Kubernetes Clustered distributed configuration data center , All cluster configurations exist there
Scheduler:Kubernetes The scheduler , Responsible for pod The distribution of
Controller Manager: Perform cluster level functions , For example, tracking work nodes 、 Handling failed nodes, etc
kubelet: And apiserver Communications , And manage the container of its node
kube-proxy: Responsible for the network communication of nodes
When the container executes (container runtime): finger docker Wait for containerization
版权声明
本文为[itread01]所创,转载请带上原文链接,感谢
边栏推荐
- 2020-11-06:go中,谈一下调度器。
- 三步轻松理解Kerberos协议
- 如何创建交互式内核密度图表
- QT audio and video development 46 video transmission UDP version
- JS array the usage of array is all here (array method reconstruction, array traversal, array de duplication, array judgment and conversion)
- Plug in bilibilibili new version 0.5.5
- 测试攻城狮必备技能点!一文带你解读DevOps下的测试技术
- Idea activation to 2089 failure
- The advantages and functions of psychological counseling app
- gitlab 持续集成开发环境之CI/CD
猜你喜欢

Rech8.0 learning days 12 rh134

OpenCV計算機視覺學習(10)——影象變換(傅立葉變換,高通濾波,低通濾波)

Detailed software engineering -- the necessary graphs in each stage
![yum [Errno 256] No more mirrors to try 解决方法](/img/3b/00bc81122d330c9d59909994e61027.jpg)
yum [Errno 256] No more mirrors to try 解决方法

小程序商城系统插件代码该如何写?怎么用代码检查添加插件是否成功?

HMS core push service helps e-commerce app to carry out refined operation

测试攻城狮必备技能点!一文带你解读DevOps下的测试技术

Win7 AppCrash (solution)

K-vim installation and the ycmd server shut down (restart with ': ycmrestartserver')

The advantages and functions of psychological counseling app
随机推荐
Win7 AppCrash (solution)
REM: the solution of PC and mobile
Introduction to Jenkins (2) declarative pipeline
confd
2020-11-06: go, let's talk about the scheduler.
PHP后门隐藏技巧
Plug in bilibilibili new version 0.5.5
August 18, 2020: introduce Mr process?
[doodling the footprints of Internet of things] Introduction to Internet of things
A kind of super parameter optimization technology hyperopt
CI / CD of gitlab continuous integrated development environment
QT audio and video development 46 video transmission UDP version
WebAPI接口设计:SwaggerUI文档 / 统一响应格式 / 统一异常处理 / 统一权限验证
Reserved battery interface, built-in charge and discharge circuit and electricity meter, quickly help easily handle hand-held applications
Stm32f030c6t6 compatible to replace mm32spin05pf
条形码识别器Dynamsoft Barcode Reader v7.5全新上线!
甘特图对活动进行分组教程
谈了多年的数字化转型,为什么还有很多企业依然“口头管理”
“非洲用户的付费意愿并不低”——专访四达时代研发总监张亮
Shanghai Pudong Development Bank, which frequently receives penalty tickets, has been cheated by hundreds of millions of yuan in loans, and lacks of internal control?