Cluster ของ Kubernetes มีเครื่องสองประเภท: control plane ("สมอง" ที่ตัดสินใจและเก็บสถานะ) และ worker node (ที่ที่ Pod ของคุณรันจริง) แต่ละประเภทมีชุดส่วนประกอบเล็ก ๆ ที่นิยามไว้ชัดเจน
ภาพรวม
┌──────────────── CONTROL PLANE (the brain) ────────────────┐
│ │
│ kube-apiserver ── the front door; ALL comms go through it│
│ │ │
│ etcd ───────── key-value store: the cluster's SOURCE OF │
│ TRUTH (all objects & desired state) │
│ kube-scheduler ── decides WHICH node a new Pod runs on │
│ controller-manager ── runs control loops (reconcilers) │
└──────────────────────────┬─────────────────────────────────┘
│ (apiserver)
┌───────────────────────┼───────────────────────┐
┌──┴─── WORKER NODE ──┐ ┌──┴─── WORKER NODE ──┐ ...
│ kubelet │ │ kubelet │
│ kube-proxy │ │ kube-proxy │
│ container runtime │ │ container runtime │
│ └ Pods (your apps) │ │ └ Pods (your apps) │
└─────────────────────┘ └─────────────────────┘
