Basic knowledge
First: Docker is an open-source container, in fact this technology is not new. In the early days of Linux, there was a lightweight virtualization system like LXC. Docker is actually just a language to implement. Kubernetes means the helmsman of sailing, it's a powerful orchestration + Monitor + disaster preparedness + load management system for Docker
Second: Kubernetes is a summary and best practice based on Google's 15 years of experience in container use, an open source version of the Borg system used internally by Google. Improvements to many of the disadvantages of Docker can be said to be a complementary technology to Docker.
Third: Kubernetes and Docker are written in go language, which means they fit very high
Four: Go language is also Google Open source, big company is drag.
Five: Docker is now a company, formerly known as DotCloud, a community project called Moby, the free version is called
Docker CE, Enterprise version called Docker EE.
More information can poke me
Element
replications Controller, which has only one purpose, is to keep alive. Replication Controller ensures that a specified number of pod replicas (replicas) are running at any time in the Kubernetes cluster
pods can be seen as containers that are packaged again, sharing a namespace with one pod. Communicate with each other internally via localhost
label label is a very advanced concept, that is, by marking the container with different labels to distinguish, later can also be identified by the label, so that more operations
A Service is a layer of abstraction that defines a series of pods and the strategy to access them. The service is to find the pod group by using a label.
Node
A node can be a physical or virtual machine, as a kubernetes worker, often referred to as Minion. Each node runs the following kubernetes key components:
Kubelet: Is the master node agent.
Kube-proxy:service uses it to route links to the 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 view of the cluster and has a range of components, such as Kubernetesapi Server. API Server provides a rest endpoint that you can use to interact with the cluster. The master node includes the replication Controller used to create and copy pods.
Architec
Kubernetes is probably divided into 5 components
Kube-apiserver: is a level-designed control platform that exposes APIs to external exposure
ETCD: is an advanced kv storage that provides back-end storage capabilities, similar to the zookeeper
Kube-scheduler: Used to schedule based on external access
Kube-controller-manager: Managing Kubelet, running on the management node, a background thread for handling the daily tasks of the cluster
Original translation
1, Node control: Responsible for the node offline notification and response
2. Replication control: Responsible for maintaining the correct number of pods defined in the replication controller
3. Endpoint control: Populate Endpoint object (join service, join pods)
4. Service account and Token control:
Kubelet:node Management plug-in to collect information about node
Kube-proxy: For network access on node
Structures such as: The cadcisor is used for monitoring inside the pod.
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/97/0A/wKioL1koB2qyT8SNAAWUifytS6I552.png-wh_500x0-wm_ 3-wmp_4-s_313817515.png "title=" 1.png "alt=" Wkiol1kob2qyt8snaawuifyts6i552.png-wh_50 "/>
This article is from the "NB Small rookie" blog, please be sure to keep this source http://309692348.blog.51cto.com/728319/1929966
Kubernetes Basic Concepts