workload by placing containers into Pods to run on Nodes 9 • 一台虛擬機 (VM) 或實體機 (BM),上面只要能運行 Kubernetes Pods 即可,無論 Linux or Windows, 無論 x86_64 or ppc 都隸屬這個範圍 • 絕大數狀況下,節點分法為 2 種角色 (Roles) ◦ Master Node (後面簡稱 Master) ◦ Worker Node (後面簡稱 Worker) Ref: https://kubernetes.io/docs/concepts/architecture/nodes/ This is a Master Node This is a Worker Node This is a Master + Worker Node
API 溝通,都採用 “Hub-and-Spoke” API 設計模式,意指全部 Kubernetes 操作都要通過 Kubernetes API Serivce 溝通,不分 CLI / GUI / IDE 等 • 常見 Kubernetes API 網路溝通,主要分 2 個類型 a. 在 Master 內的 etcd cluster 間通訊 b. Nodes ↔ Kubernetes API 相互之間溝通 16 Ref: https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/ kubectl get handsome