Kubernetes Basics for Interviews — 10 Concepts You Can’t Skip

Shubham DwivediShubham Dwivedi
4 min read

Kubernetes is one of the hottest topics in DevOps and Cloud interviews. But here’s the thing — many engineers can use Kubernetes, yet struggle to explain its core building blocks clearly.

If you can confidently explain these 10 foundational concepts, you’ll stand out in interviews and have a rock-solid foundation for real-world projects.

Let’s go step-by-step 👇


1. Cluster — The Airport of Kubernetes

A Kubernetes Cluster is a group of machines (nodes) that work together to run containerized applications.

  • Control Plane → The brain (decides what runs where)

  • Worker Nodes → The muscles (run the actual apps)

💡 Analogy: Think of a cluster as an airport.

  • Control Plane = Air Traffic Control Tower (manages all flights)

  • Worker Nodes = Runways & Gates where planes (apps) operate

  • Pods = Individual flights carrying passengers (containers)

Common Mistake: Without a Control Plane, you just have servers — not a Kubernetes cluster.


2. Node — The Worker in the Factory

A Node is a single machine (physical or virtual) inside the cluster.

  • Worker Node → Runs applications in Pods

  • Control Plane Node → Manages the cluster (schedules, monitors)

💡 Analogy: In a factory, workers (nodes) each handle a part of production. Some are supervisors (Control Plane), others do the actual work (Worker Nodes).


3. Pod — The Smallest Deployable Unit

A Pod is the smallest deployable object in Kubernetes. It can contain one or more containers that share storage and network.

💡 Analogy: Think of a Pod as a room in a building — it can have one person (container) or multiple people working together and sharing resources.


4. Container — The App’s Shipping Box

A Container packages your app with everything it needs — code, dependencies, configs — so it runs the same anywhere. Kubernetes manages these containers inside Pods.

💡 Analogy: It’s like an Amazon parcel — no matter where it’s delivered, it contains the exact same product.


5. Deployment — The App Manager

A Deployment helps you manage, scale, and update Pods declaratively.

  • Supports rolling updates (zero downtime)

  • Allows rollbacks (go back to an old version)

  • Handles auto-healing (replaces failed Pods)

💡 Analogy: Think of it as a restaurant manager ensuring the right number of chefs (Pods) are always working, and replacing them if they quit.


6. Service — The Network Waiter

A Service exposes your Pods so they can talk to each other or to the outside world.

Types:

  • ClusterIP → Internal access only

  • NodePort → Accessible via <NodeIP>:<Port>

  • LoadBalancer → External traffic with load balancing

💡 Analogy: In a restaurant, the waiter (Service) takes orders from customers and delivers them to the right chef (Pod), without customers knowing where the chef is.


7. Namespace — The Resource Organizer

Namespaces logically separate resources in a cluster.

💡 Analogy: Imagine a building with different offices — HR, Finance, Engineering. They share the same building but have separate spaces.


8. ConfigMap & Secret — The App’s Note & Locker

  • ConfigMap → Stores non-sensitive config (like a sticky note for the app)

  • Secret → Stores sensitive data like passwords/keys (encrypted)

💡 Analogy: A ConfigMap is a public notice board, a Secret is a locked safe.


9. ReplicaSet — The Auto-Rescuer

A ReplicaSet ensures a certain number of identical Pods are always running. If one dies, it starts another automatically.

💡 Analogy: Like having backup chefs in a restaurant — if one leaves, another instantly takes their place.


10. Kubelet — The Node’s Supervisor

The Kubelet is an agent running on each Node that communicates with the Control Plane and makes sure containers are running as expected.

💡 Analogy: It’s like a shift supervisor who checks that workers (containers) are doing their jobs properly.


📌 Final Thoughts

Mastering these 10 concepts will not only make Kubernetes less intimidating but also help you ace interviews.

If you want to go deeper, the next step is to explore how these resources interact — for example, how a Deployment creates ReplicaSets, which then manage Pods, which are exposed via Services.


💬 Your turn: Which concept here do you find most confusing? Drop it in the comments and I’ll make a deep-dive article on it.

0
Subscribe to my newsletter

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

Written by

Shubham Dwivedi
Shubham Dwivedi

I come from a frontend background (HTML, CSS, JS, React, Redux, Firebase), but my true passion lies in DevOps. I'm currently diving deep into tools like Linux, shell scripting, CI/CD, Docker, Kubernetes, and cloud platforms as I transition into DevOps engineering. Sharing my learnings, wins, and lessons along the way.