官术网_书友最值得收藏!

Cluster nodes

The third and final major Kubernetes component are the cluster nodes. While the master node components only run on a subset of the Kubernetes cluster, the node components run everywhere; they manage the maintenance of running pods, containers, and other primitives and provide the runtime environment. There are three node components:

  • Kubelet
  • Kube-proxy
  • Container runtime

We'll dig into the specifics of these components later, but it's important to note several things about node componentry first. The kubelet can be considered the primary controller within Kubernetes, and providers the pod/node APIs that are used by the container runtime to execute container functionality. This functionality is grouped by container and their corresponding storage volumes into the concept of pods. The concept of a pod gives application developers a straightforward packaging paradigm from which to design their application, and allows us to take maximum advantage of the portability of containers, while realizing the power of orchestration and scheduling across many instances of a cluster.

It's interesting to note that a number of Kubernetes components run on Kubernetes itself (in other words, powered by the kubelets), including DNS, ingress, the Dashboard, and the resource monitoring of Heapster:

Kubernetes core architecture

In the preceding diagram, we see the core architecture of Kubernetes. Most administrative interactions are done via the kubectl script and/or RESTful service calls to the API.

As mentioned, note the ideas of the desired state and actual state carefully. This is the key to how Kubernetes manages the cluster and its workloads. All the pieces of K8s are constantly working to monitor the current actual state and synchronize it with the desired state defined by the administrators via the API server or kubectl script. There will be times when these states do not match up, but the system is always working to reconcile the two.

Let's dig into more detail on the Master and node instances.

主站蜘蛛池模板: 丰镇市| 远安县| 拉萨市| 石阡县| 平利县| 宁都县| 五指山市| 蕉岭县| 庄浪县| 内乡县| 嘉义县| 濉溪县| 东阳市| 唐河县| 葫芦岛市| 云和县| 商丘市| 敦化市| 航空| 水城县| 兰溪市| 日土县| 缙云县| 新龙县| 罗山县| 峨山| 莲花县| 甘谷县| 皋兰县| 比如县| 建水县| 布尔津县| 民乐县| 临武县| 孝感市| 西峡县| 遂川县| 汕头市| 上栗县| 托里县| 任丘市|