In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "sample analysis of kubernetes overview", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "sample analysis of kubernetes overview" this article.
One: the architecture of kubernetes cluster
A kubernetes cluster consists of at least one Master node and several Node nodes.
The Master node is the cluster control node, which is responsible for the management and control of the whole cluster. Basically, all the control commands of Kubernetes are sent to it, and it is responsible for the specific execution process.
Because of the importance of the Master node, it usually monopolizes a physical machine or virtual machine.
Other machines outside the Master node are called Node nodes. Node nodes are workload nodes in the cluster. Each Node is assigned some workload (such as Docker container) by Master. When a
When Node goes down, its workload is automatically transferred to other nodes by Master.
Second: the core components of kubernetes cluster
The Master node component provides a control panel for the entire cluster:
Kube-apiserver: exposes the API operation interface, which is the only entry for adding, deleting, modifying, querying and other operations of resources in kubernetes, and is also the entry for cluster control.
Etcd: the main database of the cluster, where all the data in the cluster is stored.
Kube-controller-manager: the automation control center of all resource objects in kubernetes and the butler of the controller.
Kube-scheduler: the process responsible for resource scheduling (Pod scheduling), assigning Node nodes to the newly created Pod to run.
The Node node component keeps the Pods running:
Kubelet: responsible for creating, starting, stopping and other tasks of Pod corresponding containers; at the same time, work closely with Master nodes to achieve the basic functions of cluster management.
Kube-proxy: an important component that implements the communication and load balancing mechanism of Service.
Docker: docker engine, which is responsible for the container creation and management of this node.
Supervisord: process monitoring to keep kubelet and docker running normally.
Fluentd: log collection
Three: objects or resources in kubernetes cluster
The smallest deployment unit in pod:kubernetes that can be created, scheduled, and managed.
Label: a set of key / value pairs bound to a kubernetes object, and the Key of the labels property of the same object must be unique.
Label selector: the core grouping mechanism of kubernetes through which clients can identify a set of kubernetes objects with common characteristics or attributes.
Serivece: a cluster instance composed of pod replicas. It is mainly composed of an IP and a label selector. Implement IP proxy and load balancing of pod cluster.
VoLume: a disk similar to a virtual machine. A shared directory in Pod that can be accessed by multiple containers.
Namespaces: resource isolation for multi-tenancy.
ReplicaSet: determine how many copies of a pod are allowed at the same time, and ensure that the expected state of those replicas is consistent with the current state.
Deployment: an upgraded version of replica set
DaemonSet: let all Node nodes run the same pod
Job: similar to Quartz
StatefulSet: pod state retention
The above is all the content of the article "sample Analysis of kubernetes Overview". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.