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 > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Basic knowledge
First: docker is an open source container, but this technology is not new. In the early days, there were lightweight virtualization systems like LXC in linux. Docker is really just implemented in a different language. Kubernetes means the helmsman of navigation. It is a powerful orchestration + monitoring + disaster recovery + load management system of docker.
Second: kubernetes is a summary and best practice based on Google's 15 years of experience with containers, and is an open source version of the borg system used internally by google. Many deficiencies in docker have been improved, which can be said to be a complementary technology with docker.
Third: kubernetes, like docker, is written in go language, which shows that they fit very well.
Fourth: the go language is also google open source, big companies is drag.
Fifth: docker is now a company, formerly called DotCloud, a community project called moby, and a free version called
Docker CE, the enterprise version is called docker EE.
More information can poke me.
Element
Replications Controller replication controller, its purpose is only one, that is to keep alive. Replication Controller ensures that a specified number of pod copies (replicas) are running in the Kubernetes cluster at any time
Pod can be thought of as a re-encapsulation of the container, sharing a namespace with the same Pod. They communicate with each other through localhost.
Label tag is a very advanced concept, that is, it can be distinguished by putting different tags on containers, and it can also be identified by tags later, so that more operations can be done.
Service is a layer of abstraction that defines a series of Pod and the policies that access those Pod. Service finds the Pod group through Label.
Node
Nodes can be physical or virtual machines, as Kubernetes worker, often referred to as Minion. Each node runs the following key Kubernetes components:
Kubelet: is the master node agent.
It is used by Kube-proxy:Service to route links to Pod, as described above.
The container technology used by Docker or Rocket:Kubernetes to create containers.
Kubernetes Master
The cluster has a Kubernetes Master. Kubernetes Master provides a unique perspective on clustering and has a range of components, such as KubernetesAPI Server. API Server provides REST endpoints that can be used to interact with sets. The master node includes the Replication Controller used to create and copy the Pod.
Architec
Kubernetes is roughly divided into five components
Kube-apiserver: is a horizontally designed control platform that exposes api to the outside world
Etcd: is an advanced KV storage that provides back-end storage capabilities, as well as zookeeper
Kube-scheduler: used to schedule based on external access
Kube-controller-manager: management kubelet, which runs on the management node and is used as a background thread to handle the daily tasks of the cluster
Original translation
1. Node control: responsible for notification and response when the node goes offline
2. Replication control: responsible for maintaining the correct number of pods defined in the replication controller
3. Endpoint control: populate the endpoint object (join service, join pods)
4. Service account and token control:
Kubelet:node management plug-in, which is used to collect relevant information on node.
Kube-proxy: for network access on node
The structure is shown in the following figure: the cAdcisor is used for monitoring inside Pod.
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.