Kubernetes (K8s) (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
Kubernetes Architecture: Control Plane Components vs. Worker Node Agents.
senior LevelMost AskedComponentsKubernetesSystem Design
In Simple Words: A Kubernetes cluster consists of two distinct tiers:
- Control Plane (Master Nodes - The Brain):
kube-apiserver: The front door of Kubernetes. Exposes the REST API, authenticates, and validates all requests.etcd: Distributed key-value store holding 100% of the cluster's state, configurations, and secrets.kube-scheduler: Watches for newly created unscheduled Pods and assigns them to optimal Worker Nodes.kube-controller-manager: Runs continuous reconciliation loops (Node Controller, Deployment Controller, EndpointSlice Controller).
- Worker Nodes (The Muscle - Runs Workloads):
kubelet: The node agent. Communicates withkube-apiserver, invokes the container runtime (Containerd) via CRI to start/stop containers, and reports node health.kube-proxy: Manages host network rules (iptables or IPVS) to direct traffic to Pod IP endpoints behind Services.- Container Runtime: Low-level engine (Containerd, CRI-O) that executes containers.