Day 5/40 - What is Kubernetes - Kubernetes Architecture Explained

About this video

- **Introduction & Context**: The video is part of the "CKA 2024" series by Push, focusing on Kubernetes (Kubernetis) architecture. It’s video number 5, and it dives deep into the control plane components, their purposes, and how they interact with worker nodes. - **Pre-requisites**: Viewers are encouraged to watch previous videos if they're new to containers and Kubernetes. Those with prior knowledge can skip to this video. - **Engagement Goals**: The creator aims for 150 comments and 200 likes within 24 hours to show support. - **Nodes Overview**: - A **node** is essentially a virtual machine (VM) where workloads, containers, or administrative components run. - There are two types of nodes: **Control Plane/Master Node** and **Worker Nodes**. - **Control Plane/Master Node**: Hosts administrative components that manage the cluster but don’t perform the actual work. - **Worker Nodes**: Where the actual workload (containers, pods) runs. - **Pods**: - Pods are the smallest deployable units in Kubernetes. - They encapsulate one or more containers, allowing them to share resources. - Think of a pod as a protective "sack" around a container (or multiple containers). - **Control Plane Components**: 1. **API Server**: Acts as the central entry point for all external requests. It interacts with other components on behalf of the client. 2. **Scheduler**: Decides which worker node should run a particular pod based on factors like CPU, memory, and disk storage. 3. **Controller Manager**: Manages various controllers (e.g., node controller, namespace controller, deployment controller) to ensure that the desired state of the cluster is maintained. 4. **etcd (HCD)**: A key-value data store that holds all cluster data, including the state of nodes, pods, configurations, and secrets. Only the API server interacts with etcd. - **Worker Node Components**: 1. **Kubelet**: A node agent that receives instructions from the API server and ensures that the desired state (e.g., creating or deleting pods) is maintained on the worker node. 2. **Kube-proxy**: Manages network communication between pods and services using IP table rules. - **End-to-End Workflow Example**: - A user (DevOps admin) uses `kubectl` (CLI tool) to send a request (e.g., create a pod) to the API server. - The API server authenticates and validates the request, then updates the etcd database. - The **scheduler** identifies an appropriate node for the pod and informs the API server. - The API server instructs **kubelet** on the selected worker node to create the pod. - Kubelet schedules the pod and updates the API server, which then updates etcd and sends a confirmation back to the user. - **Key Concepts Recap**: - **API Server**: Central hub for all communications. - **Scheduler**: Assigns pods to nodes based on resource availability. - **Controller Manager**: Ensures the cluster's desired state is maintained. - **etcd**: Stores all cluster data. - **Kubelet**: Executes pod-related tasks on worker nodes. - **Kube-proxy**: Handles networking between pods and services. - **Future Content**: More detailed, scenario-based videos will follow, covering hands-on demonstrations and failure simulations. - **Call to Action**: Viewers are encouraged to comment, like, and ask questions in the comments or on the Discord community server dedicated to CKA 2024 help. - **Conclusion**: The video provides a high-level overview of Kubernetes architecture, focusing on control plane and worker node components, with a simplified end-to-end workflow example.


Course: Certified Kubernetes Administrator Full Course For beginners | CKA 2025

This playlist contains the complete CKA series for beginners, based on the latest 2025 curriculum. It includes 40+ videos with hands-on demos, assignments, and exam-based scenarios. We will cover everything from the basics to the Advanced, including fundamental concepts such as Docker, containers, Docker storage and networking, DNS, etc.

View Full Course