In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article is to share with you what the general framework of Kubernetes is like. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1. The general framework of Kubernetes
2. Introduction of each component of Kubernetes (1) work flow chart of kube-master [control node] master
1. Kubelet [Pod butler on the node]
Responsible for the lifecycle management of pod creation, modification, monitoring and deletion on Node nodes
Regularly report the status information of this Node to API Server.
Kubelet is a bridge between Master API Server and Minion, receiving the commands and work assigned to it by Master API Server, interacting with persistent key stores etcd, file, server, and http, and reading configuration information.
The specific work is as follows:
Set the environment variable of the container, bind Volume to the container, bind Port to the container, run a single container according to the specified Pod, and create a network container for the specified Pod.
Synchronize the status of Pod, synchronize the status of Pod, and get Container info, pod info, root info, machine info from cAdvisor.
Run commands in containers, kill containers, and delete all containers for Pod.
2. Proxy [load balancing, routing forwarding]
Proxy is designed to solve the problem that external networks can access application services provided by containers across machine clusters and runs on each Node. Proxy provides the proxy of TCP/UDP sockets. Each time a Service,Proxy is created, the configuration information of Services and Endpoints is mainly obtained from etcd (which can also be obtained from file). Then, according to the configuration information, start a Proxy process on Minion and listen to the corresponding service port. When an external request occurs, Proxy will distribute the request to the correct container at the backend for processing according to Load Balancer.
Proxy not only solves the problem of conflicts between the same service ports of the same host and host machine, but also provides the ability of Service forwarding service ports to provide services. The Proxy backend uses random and round-robin load balancing algorithm.
3. Kubectl (kubelet client) [Cluster Management Command Line tool set]
Through the kubectl command set operation of the client, the API Server responds to the corresponding command results, thus achieving the management of the kubernetes cluster.
Thank you for reading! This is the end of this article on "what is the general composition of Kubernetes?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.