Kubernetes Architecture

Pratik ShelkePratik Shelke
4 min read

When I first started learning Kubernetes, it felt like a complex maze of nodes, pods, and controllers. But then someone explained it to me like a real-world company — and suddenly, everything just clicked.

In this post, I’ll break down Kubernetes architecture using a high-level analogy: Kubernetes as a Multinational Company (MNC). Whether you’re a beginner or brushing up for interviews, this analogy will help you grasp the bigger picture quickly.


🧠 High-Level Analogy

Think of Kubernetes like a large multinational company with a clear organizational structure:

  • The Master Node is the Head Office (HQ) that manages all decisions.

  • The Worker Nodes are Branch Offices where actual work is done.

  • The User (client/customer) interacts with the services offered by the company (your app).


🔹 1. Master Node → “Head Office”

The Master Node, or Control Plane, is responsible for managing the entire Kubernetes cluster. It doesn't run your actual applications — instead, it coordinates, monitors, and schedules everything.

Imagine walking into a company’s HQ:

  • At the front desk, the Team Lead (API Server) receives all requests. This is where kubectl commands go.

  • Inside, the HR (Scheduler) assigns tasks to specific branch offices. It chooses which node should run a new Pod.

  • Meanwhile, the Project Manager (Controller Manager) keeps an eye on what’s running, ensuring everything stays as planned. If something crashes, it works to restore it.

  • All company memory and records are stored in a central database (etcd) — this is Kubernetes’ key-value store for cluster state.

In short, the Master Node defines how the company should function, but doesn't execute the work itself.


🔹 2. Worker Node → “Branch Office”

These are the real offices where work gets done. When the Master Node assigns tasks, the Worker Nodes carry them out.

Here’s how things run inside a branch:

  • The Regional Manager (Kubelet) receives instructions from the HQ and ensures that the containers (employees) do their job.

  • The Receptionist (kube-proxy) manages communication. It takes incoming calls (network traffic) and routes them to the right team (Pod).

  • And finally, the actual employees (your app containers) are the ones executing the core business logic — serving requests, running backend jobs, processing data, etc.

Each worker node can run multiple Pods, and each Pod can host one or more containers.


🔹 3. User Interaction → Client & Customer Access

Now let’s talk about how users interact with your Kubernetes-powered app:

  • A user (say, a customer visiting your website) makes a request.

  • That request is received by a Service in Kubernetes — which acts like the company’s front office or helpdesk.

  • The Service routes the request to the correct Pod running on one of the Nodes.

  • If that Pod fails for any reason? Kubernetes spins up a new one instantly, and the user barely notices.

It’s business as usual, even during chaos — that’s the magic of Kubernetes.


🔄 How the Communication Actually Flows

Let’s go step by step:

  1. You (a developer) run a command using kubectl. This hits the API Server in the Master Node.

  2. The API Server verifies the command and checks what needs to be done — like creating a new Pod.

  3. The Scheduler steps in and decides where that Pod should be deployed (which Worker Node).

  4. The API Server sends instructions to the Kubelet running on the chosen Worker Node.

  5. The Kubelet pulls the Docker image and launches the Pod (your app).

  6. The kube-proxy makes sure that network traffic can reach the Pod smoothly.

  7. The app is now live and serving users — all orchestrated without manual effort.


🧩 Why This Architecture Is So Powerful

Kubernetes is built to handle modern, distributed, scalable applications — and this analogy helps us understand why:

  • The Control Plane focuses purely on management.

  • The Worker Nodes focus purely on execution.

  • The system is self-healing — if an employee fails, the system replaces them without needing HR intervention.

  • You can scale up or scale down effortlessly as per your needs.


💬 What analogy helped you understand Kubernetes (or any other tech)? Drop it in the comments — I’d love to hear your take!

And if you're just getting started, stay tuned — I'm working on a visual blog that maps each Kubernetes concept to real-world systems.

Thanks for reading — and happy shipping! 🚀

0
Subscribe to my newsletter

Read articles from Pratik Shelke directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Pratik Shelke
Pratik Shelke