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

The Master

The cluster control plane, otherwise known as the Master, makes global decisions based on the current and desired state of the cluster, detecting and responding to events as they propagate across the cluster. This includes starting and stopping pods if the replication factor of a replication controller is unsatisfied or running a scheduled cron job.

The overarching goal of the control plane is to report on and work towards a desired state. The API that the master runs depends on the persistent state store, etcd, and utilizes the watch strategy for minimizing change latency while enabling decentralized component coordination.

Components of the Master can be realistically run on any machine in the cluster, but best practices and production-ready systems dictate that master components should be co-located on a single machine (or a multi-master high availability setup). Running all of the Master components on a single machine allows operators to exclude running user containers on those machines, which is recommended for more reliable control plane operations. The less you have running on your Master node, the better!

We'll dig into the Master components, including kube-apiserver, etcd, kube-scheduler, kube-controller-manager, and cloud-controller-manager when we get into more detail on the Master node. It is important to note that the Kubernetes goal with these components is to provide a RESTful API against mostly persistent storage resources and a CRUD (Create, Read, Update, and Delete) strategy. We'll explore the basic primitives around container-specific orchestration and scheduling later in this chapter when we read about services, ingress, pods, deployments, StatefulSet, CronJobs, and ReplicaSets.

主站蜘蛛池模板: 江阴市| 彰武县| 澄迈县| 闸北区| 平江县| 万年县| 平阴县| 绥化市| 建阳市| 运城市| 吉木乃县| 新巴尔虎右旗| 金湖县| 杭州市| 准格尔旗| 新绛县| 正阳县| 扎赉特旗| 沧源| 施甸县| 江陵县| 宝应县| 阆中市| 隆尧县| 望城县| 金秀| 台北市| 义乌市| 海南省| 东阳市| 建瓯市| 信宜市| 孟村| 婺源县| 石首市| 株洲县| 湖北省| 阳春市| 昭觉县| 西安市| 陵水|