Loading video player...
š "Can you explain Kubernetes Architecture?" This is the very first question in almost every single Kubernetes and DevOps interview ā and your answer in the first 2 minutes sets the tone for the entire interview. In this video I'll walk you through the complete Kubernetes Architecture with a clear diagram ā every component, every responsibility and exactly how they all talk to each other ā so you can answer this question confidently and completely! āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā šÆ WHY KUBERNETES ARCHITECTURE IS THE MOST IMPORTANT TOPIC Every other Kubernetes concept builds on top of architecture. When you understand why kube-apiserver is the central hub, why etcd is the single source of truth, why kube-scheduler only assigns nodes and never starts containers, why kubelet is the one component that actually does the work on nodes ā Suddenly everything else in Kubernetes makes sense. Taints and Tolerations? That is kube-scheduler doing its job. ConfigMap not reflecting? That is how kubelet injects env variables. kubectl apply flow? That is all architecture components working together. Master Kubernetes architecture and every other topic becomes easier. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š WHAT YOU WILL LEARN IN THIS VIDEO ā What is Kubernetes Architecture and why it is designed this way ā What is the Control Plane and what components live inside it ā What is kube-apiserver and why everything goes through it ā What is etcd and why it is the brain of your entire cluster ā What is kube-controller-manager and what controllers run inside it ā What is kube-scheduler and how it assigns pods to nodes ā What is a Worker Node and what components run on it ā What is kubelet and how it manages containers on a node ā What is kube-proxy and how it handles networking on nodes ā How all components communicate with each other ā How to draw and explain Kubernetes Architecture in an interview āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š WHO IS THIS VIDEO FOR This video is perfect for you if you are: š A DevOps engineer preparing for Kubernetes interviews š A developer who is just starting to learn Kubernetes š Someone preparing for CKA or CKAD certification exams š An SRE or platform engineer who wants to solidify fundamentals š Anyone who has been asked "Explain Kubernetes Architecture" in an interview and did not know where to start āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š” KUBERNETES ARCHITECTURE ā COMPLETE BREAKDOWN CONTROL PLANE ā The Brain of the Cluster šµ kube-apiserver ā The single entry point for all operations in Kubernetes ā Every kubectl command, every component communication goes through kube-apiserver ā Handles authentication, authorization and admission control ā The only component that reads and writes to etcd directly šļø etcd ā Distributed key value store ā Stores the entire desired state of your Kubernetes cluster ā Every Deployment, Pod, Service, ConfigMap is stored here ā If etcd goes down your cluster loses its memory completely ā This is why etcd backup is critical in production āļø kube-controller-manager ā Runs multiple controllers in a single process ā Deployment Controller ensures desired replica count is maintained ā Node Controller monitors node health and responds to failures ā ReplicaSet Controller ensures correct number of pods are running ā Constantly watches etcd via apiserver and reconciles actual state with desired state š kube-scheduler ā Watches for pods that have no node assigned ā Evaluates all available nodes based on resources, taints, tolerations, affinity rules ā Assigns the most suitable node to each pod ā Does NOT start the container ā only decides where it should run WORKER NODE ā Where Your Workloads Actually Run š§ kubelet ā Agent that runs on every worker node ā Watches for pods assigned to its node via kube-apiserver ā Talks to container runtime to pull images and start containers ā Continuously reports pod and node status back to kube-apiserver ā The only component that actually starts and manages containers š kube-proxy ā Runs on every worker node ā Maintains network rules using iptables or IPVS ā Ensures traffic from Services reaches the correct pods ā Handles load balancing across multiple pod replicas š¦ Container Runtime ā The software that actually runs containers ā Default in modern Kubernetes is containerd ā kubelet talks to container runtime via CRI interface ā Responsible for pulling images, starting and stopping containers āāāāāāāāāāāāāāāāā