Kubernetes Architecture
Understand the main components of a Kubernetes cluster: master nodes, worker nodes, and their interactions.
Kubernetes Architecture is a free Docker & DevOps Fundamentals lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Docker & DevOps Fundamentals learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Welcome to K8s Architecture
Welcome to Kubernetes! It's a powerful system for managing containerized applications across many machines.
Before we dive into running apps, it's essential to understand its core structure. Think of it as learning the parts of a car before driving it!

The Kubernetes Cluster
At its heart, Kubernetes operates as a cluster. A cluster is a group of machines, called nodes, that work together.
These nodes are divided into two main types:
- Control Plane (Master Node): The brain of the cluster.
- Worker Nodes: The workhorses that run your applications.
The Control Plane: The Brain
The Control Plane (often called the Master Node in older docs) is responsible for managing the cluster.
It makes global decisions about the cluster (like scheduling applications) and detects and responds to cluster events (like restarting a failed application). It doesn't run your applications directly.
API Server: The Front Door
The API Server is the front-end of the Kubernetes Control Plane. It's the only component that interacts directly with you (via kubectl).
It exposes the Kubernetes API and handles all communications within the cluster, validating and configuring data for API objects like Pods and Services.
etcd: The Cluster's Memory
etcd is a consistent and highly available key-value store. Think of it as the cluster's permanent memory.
It stores all cluster data, including configuration, state, and metadata. If etcd goes down, your cluster loses its memory and can't function correctly!
Scheduler: The Matchmaker
The Scheduler watches for newly created Pods (your application instances) that have no assigned worker node.
It then selects the best node for each Pod to run on, considering factors like resource requirements, hardware constraints, and policies.
Controller Manager: The Watchdog
The Controller Manager runs various controllers, which are background loops that regulate the cluster's state.
For example, a Node Controller monitors node health, and a Replication Controller ensures the correct number of Pods are running. It's always working to match the desired state with the current state.
Worker Nodes: The Workhorses
Worker Nodes (also called Minions in older docs) are the machines where your actual containerized applications (packaged into Pods) run.
Each worker node has components that enable it to communicate with the Control Plane and manage the containers running on it.
Kubelet & Container Runtime
On each Worker Node:
- Kubelet: An agent that ensures containers are running in a Pod. It receives instructions from the API Server and manages the Pods.
- Container Runtime: This is the software responsible for running containers (e.g., Docker, containerd, CRI-O). Kubelet uses it to pull images and run your applications.
Kube-proxy: The Network Enforcer
Kube-proxy runs on each Worker Node and handles network proxying for Kubernetes Services.
It maintains network rules on the node, allowing network communication to your Pods from both inside and outside the cluster. It ensures your applications can be reached.
Architecture Quick Check
Based on what you've learned, which of the following components are part of the Kubernetes Control Plane?
Recap & Next Steps
Great job! You've now got a foundational understanding of Kubernetes architecture.
- The Control Plane (API Server, etcd, Scheduler, Controller Manager) manages the cluster.
- Worker Nodes (Kubelet, Container Runtime, Kube-proxy) run your applications.
Next, we'll dive into the smallest deployable unit in Kubernetes: Pods!
Frequently asked questions
Is the “Kubernetes Architecture” lesson free?
Yes — the full text of “Kubernetes Architecture” is free to read here on the web, and the Docker & DevOps Fundamentals course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Docker & DevOps Fundamentals course, upgrade to CoddyKit PRO.
What will I learn in “Kubernetes Architecture”?
Understand the main components of a Kubernetes cluster: master nodes, worker nodes, and their interactions. You practise Docker & DevOps Fundamentals with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Docker & DevOps Fundamentals?
No prior experience is required. Docker & DevOps Fundamentals on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Kubernetes Architecture” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Docker & DevOps Fundamentals lesson?
Yes. Every Docker & DevOps Fundamentals lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Kubernetes Architecture
- Pods: The Smallest Units
- kubectl Commands Essentials
- Namespaces and Labels for Organization