- Getting Started with Kubernetes(Second Edition)
- Jonathan Baier
- 255字
- 2021-07-02 22:51:27
Master
Essentially, master is the brain of our cluster. Here, we have the core API server, which maintains RESTful web services for querying and defining our desired cluster and workload state. It's important to note that the control pane only accesses the master to initiate changes and not the nodes directly.
Additionally, the master includes the scheduler, which works with the API server to schedule workloads in the form of pods on the actual minion nodes. These pods include the various containers that make up our application stacks. By default, the basic Kubernetes scheduler spreads pods across the cluster and uses different nodes for matching pod replicas. Kubernetes also allows specifying necessary resources for each container, so scheduling can be altered by these additional factors.
The replication controller/replica set works with the API server to ensure that the correct number of pod replicas are running at any given time. This is exemplary of the desired state concept. If our replication controller/replica set is defining three replicas and our actual state is two copies of the pod running, then the scheduler will be invoked to add a third pod somewhere on our cluster. The same is true if there are too many pods running in the cluster at any given time. In this way, K8s is always pushing toward that desired state.
Finally, we have etcd running as a distributed configuration store. The Kubernetes state is stored here and etcd allows values to be watched for changes. Think of this as the brain's shared memory.
- 數據展現的藝術
- 大學計算機信息技術導論
- Python Artificial Intelligence Projects for Beginners
- 商戰數據挖掘:你需要了解的數據科學與分析思維
- Getting Started with MariaDB
- Matplotlib 3.0 Cookbook
- 大數據挑戰與NoSQL數據庫技術
- B2B2C網上商城開發指南
- Implementing Oracle API Platform Cloud Service
- Cloudera Administration Handbook
- Learning ServiceNow
- FANUC工業機器人配置與編程技術
- 機器學習案例分析(基于Python語言)
- 計算機硬件技術基礎(第2版)
- 歐姆龍PLC應用系統設計實例精解