Skip to main content
Career Paths
Concepts
Kubernetes
The Simplified Tech

Role-based learning paths to help you master cloud engineering with clarity and confidence.

Product

  • Career Paths
  • Interview Prep
  • Scenarios
  • AI Features
  • Cloud Comparison
  • Resume Builder
  • Pricing

Community

  • Join Discord

Account

  • Dashboard
  • Credits
  • Updates
  • Sign in
  • Sign up
  • Contact Support

Stay updated

Get the latest learning tips and updates. No spam, ever.

Terms of ServicePrivacy Policy

© 2026 TheSimplifiedTech. All rights reserved.

BackBack
Interactive Explainer

Kubernetes fundamentals

Pods, services, deployments, and ingress: running containers at scale.

🎯Key Takeaways
Pod = smallest deployable unit; one or more containers sharing network/storage.
Deployment manages desired replicas and rolling updates; Service gives stable network identity.
Use ConfigMap/Secret for config; PV/PVC for persistent storage.

Kubernetes fundamentals

Pods, services, deployments, and ingress: running containers at scale.

~4 min read
Be the first to complete!
What you'll learn
  • Pod = smallest deployable unit; one or more containers sharing network/storage.
  • Deployment manages desired replicas and rolling updates; Service gives stable network identity.
  • Use ConfigMap/Secret for config; PV/PVC for persistent storage.

Core concepts

Kubernetes (K8s) is an orchestrator for containerized workloads. The cluster has a control plane (API server, scheduler, controller manager) and nodes that run your workloads. You declare desired state in YAML or via tools (helm, kustomize); controllers reconcile actual state with that.

A Pod is the smallest deployable unit—one or more containers that share network and storage. Pods are ephemeral; do not rely on their IP. Use higher-level resources (Deployment, StatefulSet) to manage Pods.

Deployments and Services

Deployment manages a set of Pods: you specify the image, replicas, and update strategy (rolling update, rollback). It keeps the desired number of Pods running and replaces them when they fail or when you change the spec.

Service gives Pods a stable name and IP (cluster IP, or LoadBalancer/NodePort for external access). It selects Pods by label and load-balances traffic. Ingress provides HTTP routing (host/path) to Services, often with TLS termination.

Config and storage

ConfigMap holds non-secret configuration; Secret holds sensitive data (base64-encoded or external secret stores). Mount them as files or env vars into Pods. PersistentVolume (PV) and PersistentVolumeClaim (PVC) provide storage that survives Pod restarts.

Namespaces isolate resources within a cluster. Use labels and selectors to organize and target resources. Understanding these building blocks is enough to run and debug typical app deployments on any managed K8s (EKS, AKS, GKE).

How this might come up in interviews

Kubernetes and platform interviews: expect to explain Pods, Deployments, Services, and basic troubleshooting (describe, logs, exec).

Common questions:

  • What is a Pod and how does it differ from a container?
  • How do Deployments and Services work together?
  • How would you debug a failing Pod?

Quick check · Kubernetes fundamentals

1 / 4

A Pod has 3 containers. Container A crashes. What happens to containers B and C?

Key takeaways

  • Pod = smallest deployable unit; one or more containers sharing network/storage.
  • Deployment manages desired replicas and rolling updates; Service gives stable network identity.
  • Use ConfigMap/Secret for config; PV/PVC for persistent storage.
Before you move on: can you answer these?

What is the role of a Service in Kubernetes?

Service gives Pods a stable name and IP and load-balances traffic to them; Pods are ephemeral but the Service endpoint is stable.

🧠Mental Model

💡 Analogy

Kubernetes is an airline's operations centre. The control plane is the ops team tracking every flight (Pod). The scheduler is the gate agent who assigns passengers (Pods) to planes (Nodes) based on seat requirements (resource requests) and restrictions (taints/tolerations). Controllers are like automated systems that watch flight status: if a plane goes down (Node failure), the ops centre immediately reassigns passengers to other flights (reschedules Pods). Deployments are the flight schedule — "I want 3 flights to London at any time." Services are the check-in desk: customers always go to the same desk address; the desk routes them to whichever flight (Pod) is available.

⚡ Core Idea

Kubernetes continuously reconciles desired state (your YAML) with actual state (what is running). You declare what you want; controllers make it so, and keep it so even as nodes fail, traffic spikes, or images are updated.

🎯 Why It Matters

Kubernetes has become the standard runtime for containerised applications in production. Understanding Pods, Deployments, Services, and debugging commands is a baseline expectation in cloud and DevOps interviews. More importantly, understanding the reconciliation model (desired vs actual state) is the mental shift that makes Kubernetes behaviour predictable.

Related concepts

Explore topics that connect to this one.

  • Docker and containers
  • Infrastructure as Code: Terraform & CloudFormation
  • Observability

Suggested next

Often learned after this topic.

Observability

Ready to see how this works in the cloud?

Switch to Career Paths for structured paths (e.g. Developer, DevOps) and provider-specific lessons.

View role-based paths

Sign in to track your progress and mark lessons complete.

Continue learning

Observability

Discussion

Questions? Discuss in the community or start a thread below.

Join Discord

In-app Q&A

Sign in to start or join a thread.