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

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.

主站蜘蛛池模板: 五台县| 巩留县| 瑞金市| 沿河| 宣威市| 炎陵县| 莱芜市| 图片| 天峨县| 南开区| 郴州市| 延边| 泰来县| 民勤县| 葫芦岛市| 独山县| 江源县| 汤原县| 德昌县| 承德县| 浦江县| 丹巴县| 乌鲁木齐县| 英德市| 开远市| 甘孜县| 电白县| 上杭县| 吉木乃县| 左云县| 华阴市| 镇雄县| 宜章县| 抚松县| 甘泉县| 炎陵县| 莆田市| 微博| 镇巴县| 禹城市| 辽中县|