Active Nerds
Learning Paths
Infrastructure & Deployment

Kubernetes

Declarative cluster state: how the control plane reconciles desired vs. actual, across pods, deployments, and services.

113 modules~14 hours totalBeginner–Advanced

Prerequisite Note

Assumes Docker fundamentals — container images, volumes, and Compose.

View prerequisite path (docker)

Beginner Modules(0/50)

#3

Kubernetes Architecture: Why Container Orchestration is Essential

Article

Kubernetes is an open-source container orchestration platform that automates deploying, scaling, and managing containerized applications across clusters of m...

#3

Kubernetes Fundamentals: Why Container Orchestration is Essential for DevOps

Article

Provides an in-depth breakdown of kubernetes fundamentals and its core operational mechanisms in production Kubernetes environments.

#6

Manual Operations vs. Kubernetes: Problems Automated Orchestration Solves

Article

Kubernetes solves self-healing, scaling, service discovery, load balancing, rolling deployments, and configuration management — problems that become unmanage...

#6

Manual Container Operations vs. Kubernetes: Problems Automated Orchestration Solves

Article

Provides an in-depth breakdown of manual container operations vs. kubernetes and its core operational mechanisms in production Kubernetes environments.

#9

Containers vs. Virtual Machines: Isolation Mechanisms at the Linux Kernel Level

Article

A container packages an application with its dependencies and shares the host OS kernel, while a VM includes a full OS and runs on a hypervisor — containers...

#9

Containers vs. Virtual Machines: Isolation Mechanisms at the Linux Kernel Level

Article

Provides an in-depth breakdown of containers vs. virtual machines and its core operational mechanisms in production Kubernetes environments.

#12

Docker vs. Kubernetes: Runtime Engines vs. Cluster Orchestrators

Article

Docker builds and runs containers on a single machine; Kubernetes orchestrates containers across many machines. They solve different problems and are complem...

#12

Docker vs. Kubernetes: Container Runtime Engines vs. Cluster Orchestrators

Article

Provides an in-depth breakdown of docker vs. kubernetes and its core operational mechanisms in production Kubernetes environments.

#15

Control Plane vs. Worker Nodes: Key Architecture Components of a Kubernetes Cluster

Article

A cluster has a Control Plane (API Server, etcd, Scheduler, Controller Manager) and Worker Nodes (kubelet, kube-proxy, container runtime), plus optionally a...

#15

Control Plane vs. Worker Nodes: Key Architecture Components of a Kubernetes Cluster

Article

Provides an in-depth breakdown of control plane vs. worker nodes and its core operational mechanisms in production Kubernetes environments.

#18

etcd Architecture: Distributed Key-Value Store for Kubernetes Cluster State

Article

etcd is the distributed key-value store that holds ALL cluster state — every object, every config, every secret. Losing etcd without a backup means losing th...

#18

etcd Architecture: Distributed Key-Value Store for Kubernetes Cluster State

Article

Provides an in-depth breakdown of etcd architecture and its core operational mechanisms in production Kubernetes environments.

#21

Understanding Pods: Why Kubernetes Groups Containers as the Smallest Deployable Unit

Article

A Pod is a wrapper around one or more containers that share a network namespace and storage — Kubernetes schedules and manages Pods, not individual container...

#21

Understanding Pods: Why Kubernetes Groups Containers as the Smallest Deployable Unit

Article

Provides an in-depth breakdown of understanding pods and its core operational mechanisms in production Kubernetes environments.

#24

Control Plane vs. Worker Nodes: Responsibilities and Component Breakdown

Article

A Node is a physical or virtual machine in the cluster. Master nodes (control plane nodes) run cluster management components; worker nodes run your applicati...

#24

Control Plane vs. Worker Nodes: Responsibilities and Component Breakdown

Article

Provides an in-depth breakdown of control plane vs. worker nodes and its core operational mechanisms in production Kubernetes environments.

#27

Inside kubectl apply: Execution Flow from API Server to Container Runtime

Article

kubectl → API Server → etcd (store) → Controller Manager (create pods) → Scheduler (assign nodes) → kubelet (run containers).

#27

Inside kubectl apply: Detailed Execution Flow from API Server to Runtime

Article

Provides an in-depth breakdown of inside kubectl apply and its core operational mechanisms in production Kubernetes environments.

#30

Kubernetes Namespaces: Logical Cluster Isolation and Resource Scoping

Article

A Namespace is a logical partition within a cluster that isolates resources — names must be unique within a namespace but can repeat across namespaces, and R...

#30

Kubernetes Namespaces: Logical Cluster Isolation and Multi-Tenancy Scoping

Article

Provides an in-depth breakdown of kubernetes namespaces and its core operational mechanisms in production Kubernetes environments.

#33

Essential kubectl Commands: Operations and Debugging Cheat Sheet

Article

`get`, `describe`, `apply`, `delete`, `logs`, `exec`, `port-forward`, and `rollout` — these eight command families cover 90% of daily Kubernetes work.

#33

Essential kubectl Commands: Operations and Debugging Cheat Sheet for DevOps

Article

Provides an in-depth breakdown of essential kubectl commands and its core operational mechanisms in production Kubernetes environments.

#36

Imperative vs. Declarative Management: Infrastructure as Code with Kubernetes Manifests

Article

Imperative commands (`kubectl run`, `kubectl create`) execute immediately and don't leave a record; declarative (`kubectl apply -f`) manages state via files...

#36

Imperative vs. Declarative Management: Infrastructure as Code with Kubernetes Manifests

Article

Provides an in-depth breakdown of imperative vs. declarative management and its core operational mechanisms in production Kubernetes environments.

#39

Dry-Run Validation: Client-Side vs. Server-Side Mutation Testing

Article

`--dry-run=client` validates locally without hitting the API server; `--dry-run=server` sends the request to the API server for full validation including adm...

#39

Dry-Run Mode: Validating Manifests and API Server Mutations via Client vs. Server Dry-Run

Article

Provides an in-depth breakdown of dry-run mode and its core operational mechanisms in production Kubernetes environments.

#42

Anatomy of a Kubernetes Manifest: The Four Essential Structure Fields

Article

A manifest is a YAML file describing a desired Kubernetes object. Every manifest requires: `apiVersion`, `kind`, `metadata`, and `spec`.

#42

Anatomy of a Kubernetes Manifest: The Four Essential Structure Fields

Article

Provides an in-depth breakdown of anatomy of a kubernetes manifest and its core operational mechanisms in production Kubernetes environments.

#45

Labels vs. Annotations: Resource Selectors vs. Operational Metadata

Article

Labels are key-value pairs used for selection and grouping (Services use them to find pods); annotations store arbitrary metadata for tools and humans but ar...

#45

Labels vs. Annotations: Resource Selectors vs. Operational Metadata

Article

Provides an in-depth breakdown of labels vs. annotations and its core operational mechanisms in production Kubernetes environments.

#48

Pod Lifecycle States: Phase Transitions from Pending to Running and Termination

Article

A pod moves through: Pending → Running → Succeeded/Failed, with sub-states like CrashLoopBackOff, ImagePullBackOff, and OOMKilled visible in the container st...

#48

Pod Lifecycle States: Phase Transitions from Pending to Running and Termination

Article

Provides an in-depth breakdown of pod lifecycle states and its core operational mechanisms in production Kubernetes environments.

#51

Init Containers: Pre-initialization, Dependency Waiting, and Setup Execution

Article

Init containers run to completion before any main containers start — use them to wait for dependencies, pre-populate data, or perform setup tasks that must c...

#51

Init Containers: Pod Pre-initialization, Dependency Waiting, and Setup Execution

Article

Provides an in-depth breakdown of init containers and its core operational mechanisms in production Kubernetes environments.

#54

Deployments vs. ReplicaSets: Declarative Scaling and Pod Template Management

Article

A ReplicaSet ensures a specified number of pod replicas are running at all times; a Deployment manages ReplicaSets and adds rolling update and rollback capab...

#54

Deployments vs. ReplicaSets: Declarative Scaling and Pod Template Management

Article

Provides an in-depth breakdown of deployments vs. replicasets and its core operational mechanisms in production Kubernetes environments.

#57

Kubernetes Deployment Spec: Pod Templates, Replicas, and Rollout Controls

Article

A Deployment is the standard way to run stateless applications — it manages ReplicaSets, handles rolling updates, and maintains desired pod count through sel...

#57

Kubernetes Deployment Spec: Pod Templates, Replicas, and Rollout Controls

Article

Provides an in-depth breakdown of kubernetes deployment spec and its core operational mechanisms in production Kubernetes environments.

#60

Rolling Update Strategy: Zero-Downtime Deployment Control with maxSurge and maxUnavailable

Article

A rolling update gradually replaces old pods with new ones, controlled by `maxSurge` (extra pods allowed) and `maxUnavailable` (pods that can be down) — allo...

#60

Rolling Update Strategy: Zero-Downtime Deployment Control with maxSurge and maxUnavailable

Article

Provides an in-depth breakdown of rolling update strategy and its core operational mechanisms in production Kubernetes environments.

#63

Kubernetes Services: Stable Networking and Service Discovery for Transient Pods

Article

A Service provides a stable network endpoint (fixed IP + DNS name) for a dynamic set of pods — because pod IPs change every time a pod is restarted, replaced...

#63

Kubernetes Services: Stable Networking and Service Discovery for Transient Pods

Article

Provides an in-depth breakdown of kubernetes services and its core operational mechanisms in production Kubernetes environments.

#66

ClusterIP vs. NodePort vs. LoadBalancer vs. ExternalName: Service Type Selection

Article

ClusterIP (internal only), NodePort (node-level external access), LoadBalancer (cloud LB per service), ExternalName (DNS alias to external) — use Ingress ins...

#66

ClusterIP vs. NodePort vs. LoadBalancer vs. ExternalName: Selecting the Right Service Type

Article

Provides an in-depth breakdown of clusterip vs. nodeport vs. loadbalancer vs. externalname and its core operational mechanisms in production Kubernetes environments.

#69

ConfigMaps: Decoupling Application Configuration from Container Images

Article

A ConfigMap stores non-sensitive configuration data as key-value pairs that can be injected into pods as environment variables, command arguments, or mounted...

#69

ConfigMaps: Decoupling Application Configuration from Container Images

Article

Provides an in-depth breakdown of configmaps and its core operational mechanisms in production Kubernetes environments.

#72

Kubernetes Secrets vs. ConfigMaps: Sensitive Data Storage and Base64 Limitations

Article

Secrets store sensitive data (passwords, tokens, certificates) and are base64-encoded (NOT encrypted by default) — the real security comes from RBAC restrict...

#72

Kubernetes Secrets vs. ConfigMaps: Sensitive Data Storage and Base64 Encoding Limitations

Article

Provides an in-depth breakdown of kubernetes secrets vs. configmaps and its core operational mechanisms in production Kubernetes environments.

#75

Kubernetes Self-Healing Mechanics: Automatic Restarts and Pod Rescheduling

Article

When a pod crashes, the ReplicaSet controller detects the count has dropped below desired and creates a replacement pod — this happens automatically within s...

#75

Kubernetes Self-Healing Mechanics: Automatic Container Restarts and Pod Rescheduling

Article

Provides an in-depth breakdown of kubernetes self-healing mechanics and its core operational mechanisms in production Kubernetes environments.

Intermediate Modules(0/30)

#3

Production Deployment Design: Stateless Scalable Web Applications with HPA

Article

Deployment (3 replicas minimum) + ClusterIP Service + Ingress for external traffic + HPA for autoscaling + PodDisruptionBudget for availability — with resour...

#3

Production Deployment Design: Stateless Scalable Web Applications with HPA and Services

Article

Provides an in-depth breakdown of production deployment design and its core operational mechanisms in production Kubernetes environments.

#6

Sidecar, Ambassador, and Adapter Patterns: Advanced Multi-Container Pod Designs

Article

Sidecar extends main container functionality (logging, proxying); Ambassador proxies outbound traffic; Adapter transforms output format — all are multi-conta...

#6

Sidecar, Ambassador, and Adapter Patterns: Advanced Multi-Container Pod Designs

Article

Provides an in-depth breakdown of sidecar, ambassador, and adapter patterns and its core operational mechanisms in production Kubernetes environments.

#9

Debugging Pending Pods: Systematic Troubleshooting for Scheduling Blocks

Article

Pending means the scheduler can't find a suitable node — check Events in `kubectl describe pod` for the specific reason: insufficient resources, taint mismat...

#9

Debugging Pending Pods: Systematic Troubleshooting for Node Capacity and Scheduling Blocks

Article

Provides an in-depth breakdown of debugging pending pods and its core operational mechanisms in production Kubernetes environments.

#12

CrashLoopBackOff Troubleshooting: Root Cause Analysis for Application Container Crashes

Article

CrashLoopBackOff means the container starts and immediately crashes — get the previous container's logs with `kubectl logs --previous`, then check exit codes...

#12

CrashLoopBackOff Troubleshooting: Root Cause Analysis for Application Container Crashes

Article

Provides an in-depth breakdown of crashloopbackoff troubleshooting and its core operational mechanisms in production Kubernetes environments.

#15

OOMKilled Prevention: Container Memory Limits, Cgroups, and Linux OOM Killer

Article

OOMKilled means the container exceeded its memory limit and was killed by the Linux OOM killer — fix by increasing the memory limit, finding and fixing the m...

#15

OOMKilled Prevention: Container Memory Limits, Cgroups, and Linux Kernel OOM Killer

Article

Provides an in-depth breakdown of oomkilled prevention and its core operational mechanisms in production Kubernetes environments.

#18

Kubernetes Ingress Controllers: Layer 7 HTTP Routing and SSL/TLS Termination

Article

Deploy an Ingress controller (nginx or AWS ALB), create a ClusterIP Service for your pods, then create an Ingress resource that defines routing rules from ex...

#18

Kubernetes Ingress Controllers: Layer 7 HTTP Routing and SSL/TLS Termination

Article

Provides an in-depth breakdown of kubernetes ingress controllers and its core operational mechanisms in production Kubernetes environments.

#21

CoreDNS Architecture: In-Cluster DNS Resolution and Service Record Lookup

Article

CoreDNS runs as a Deployment in `kube-system` and automatically creates DNS records for every Service — pods resolve services using short names within the sa...

#21

CoreDNS Architecture: In-Cluster DNS Resolution, Service Records, and Search Domains

Article

Provides an in-depth breakdown of coredns architecture and its core operational mechanisms in production Kubernetes environments.

#24

Storage Persistence: PersistentVolumes, PersistentVolumeClaims, and StorageClasses

Article

A PersistentVolume (PV) is actual storage provisioned in the cluster; a PersistentVolumeClaim (PVC) is a pod's request for storage — Kubernetes binds them to...

#24

Storage Persistence: PersistentVolumes, PersistentVolumeClaims, and StorageClasses Explained

Article

Provides an in-depth breakdown of storage persistence and its core operational mechanisms in production Kubernetes environments.

#27

Resource Requests vs. Limits: CPU/Memory Scheduling and Throttling Policies

Article

Requests tell the scheduler how much to reserve; limits cap actual usage — without requests, pods land on random nodes causing resource contention; without l...

#27

Resource Requests vs. Limits: CPU/Memory Scheduling, Throttling, and Eviction Policies

Article

Provides an in-depth breakdown of resource requests vs. limits and its core operational mechanisms in production Kubernetes environments.

#30

Kubernetes QoS Classes: Guaranteed, Burstable, and BestEffort Pod Eviction Priorities

Article

QoS classes (Guaranteed, Burstable, BestEffort) determine which pods are evicted first when a node runs out of memory — Guaranteed pods are evicted last, Bes...

#30

Kubernetes QoS Classes: Guaranteed, Burstable, and BestEffort Pod Eviction Priorities

Article

Provides an in-depth breakdown of kubernetes qos classes and its core operational mechanisms in production Kubernetes environments.

#33

Liveness, Readiness, and Startup Probes: Health Check Configurations

Article

Liveness restarts dead containers; readiness removes unready pods from service load balancing; startup gives slow-starting apps time to initialize before liv...

#33

Liveness, Readiness, and Startup Probes: Health Check Configurations and Failure Actions

Article

Provides an in-depth breakdown of liveness, readiness, and startup probes and its core operational mechanisms in production Kubernetes environments.

#36

StatefulSets vs. Deployments: Managing Stateful Applications with Stable Identities

Article

StatefulSets give pods stable, persistent identities (fixed names, stable DNS, ordered startup) — use them for databases, message brokers, and any workload w...

#36

StatefulSets vs. Deployments: Managing Stateful Applications with Stable Network Identities

Article

Provides an in-depth breakdown of statefulsets vs. deployments and its core operational mechanisms in production Kubernetes environments.

#39

DaemonSets: Running Node-Level Daemon Agents for Logging and Monitoring

Article

A DaemonSet ensures exactly one pod runs on every node (or a subset of nodes) — use it for node-level infrastructure concerns like log collection, monitoring...

#39

DaemonSets: Running Node-Level Daemon Agents for Logging, Monitoring, and Networking

Article

Provides an in-depth breakdown of daemonsets and its core operational mechanisms in production Kubernetes environments.

#42

Kubernetes RBAC: Implementing Roles, ClusterRoles, and Bindings for Granular Security

Article

RBAC (Role-Based Access Control) grants permissions to subjects (users, groups, ServiceAccounts) through Roles (namespace-scoped) or ClusterRoles (cluster-wi...

#42

Kubernetes RBAC: Implementing Roles, ClusterRoles, and Bindings for Granular Authorization

Article

Provides an in-depth breakdown of kubernetes rbac and its core operational mechanisms in production Kubernetes environments.

#45

ServiceAccounts vs. User Accounts: Identity, Token Auth, and Pod Authorization

Article

ServiceAccounts are identities for pods and processes running inside Kubernetes; user accounts are for humans accessing the cluster from outside — ServiceAcc...

#45

ServiceAccounts vs. User Accounts: Identity, Token Authentication, and Pod Authorization

Article

Provides an in-depth breakdown of serviceaccounts vs. user accounts and its core operational mechanisms in production Kubernetes environments.

Advanced Modules(0/23)

#3

GitLab CI/CD Integration: Automated Container Builds and Manifest Deployments

Article

The modern pattern is push-based CI (GitLab builds + tests + pushes image) combined with pull-based CD (ArgoCD detects config changes and syncs to cluster) —...

#3

GitLab CI/CD Integration: Automated Container Builds, Testing, and Manifest Deployments

Article

Provides an in-depth breakdown of gitlab ci/cd integration and its core operational mechanisms in production Kubernetes environments.

#6

GitOps Workflow: Declarative Infrastructure Management with ArgoCD and Flux

Article

GitOps treats Git as the single source of truth for cluster state — changes happen via Git commits (not kubectl), and a controller continuously reconciles cl...

#6

GitOps Workflow: Declarative Infrastructure Management with ArgoCD and Flux

Article

Provides an in-depth breakdown of gitops workflow and its core operational mechanisms in production Kubernetes environments.

#9

NetworkPolicies: Micro-Segmentation and Pod Traffic Filtering with Calico or Cilium

Article

NetworkPolicies are pod-level firewalls that whitelist allowed ingress and egress traffic — start with a default-deny-all policy per namespace, then explicit...

#9

NetworkPolicies: Micro-Segmentation and Pod-to-Pod Traffic Filtering with Calico or Cilium

Article

Provides an in-depth breakdown of networkpolicies and its core operational mechanisms in production Kubernetes environments.

#12

Kubernetes Disaster Recovery: Cluster Backup, etcd Snapshots, and Velero

Article

A complete DR strategy has three layers — GitOps (cluster config in Git), Velero (PVC data backup), and infrastructure-as-code (cluster rebuild automation) —...

#12

Kubernetes Disaster Recovery: Cluster Backup, etcd Snapshots, and Velero Restoration

Article

Provides an in-depth breakdown of kubernetes disaster recovery and its core operational mechanisms in production Kubernetes environments.

#15

Zero-Downtime Cluster Upgrades: Master Control Plane and Worker Maintenance

Article

Upgrade control plane first, then node groups one at a time — always upgrade one minor version at a time, back up etcd first, test in staging, and use manage...

#15

Zero-Downtime Cluster Upgrades: Master Control Plane and Worker Node Maintenance via kubeadm

Article

Provides an in-depth breakdown of zero-downtime cluster upgrades and its core operational mechanisms in production Kubernetes environments.

#18

Kubernetes Upgrade Strategy: Architecture & Implementation

Article

In-depth architectural breakdown and operational implementation for Kubernetes Upgrade Strategy: Architecture & Implementation.

#21

CI/CD Pipeline Security Scanning & Compliance: Architecture & Implementation

Article

In-depth architectural breakdown and operational implementation for CI/CD Pipeline Security Scanning & Compliance: Architecture & Implementation.

#24

Zero-Downtime Deployments: Architecture & Implementation

Article

In-depth architectural breakdown and operational implementation for Zero-Downtime Deployments: Architecture & Implementation.

#27

Blue/Green and Canary Deployments with Argo Rollouts: Architecture & Implementation

Article

In-depth architectural breakdown and operational implementation for Blue/Green and Canary Deployments with Argo Rollouts: Architecture & Implementation.

#30

Cluster Resource Exhaustion: Monitoring and Scaling Strategy

Article

In-depth architectural breakdown and operational implementation for Cluster Resource Exhaustion: Monitoring and Scaling Strategy.

#33

Exposed Secrets in ConfigMap: Incident Response

Article

In-depth architectural breakdown and operational implementation for Exposed Secrets in ConfigMap: Incident Response.

#36

Advanced RBAC Design for Multi-Team Organization: Architecture & Implementation

Article

In-depth architectural breakdown and operational implementation for Advanced RBAC Design for Multi-Team Organization: Architecture & Implementation.

#39

StatefulSet Design for Database Pods: Architecture & Implementation

Article

In-depth architectural breakdown and operational implementation for StatefulSet Design for Database Pods: Architecture & Implementation.

#42

Istio Traffic Management and Circuit Breaking: Architecture & Implementation

Article

In-depth architectural breakdown and operational implementation for Istio Traffic Management and Circuit Breaking: Architecture & Implementation.

#45

Advanced Pod Scheduling: Affinity, Taints, and Topology

Article

In-depth architectural breakdown and operational implementation for Advanced Pod Scheduling: Affinity, Taints, and Topology.

#48

What is the Kubernetes API Extension Model?: Architecture & Implementation

Article

Kubernetes extends its API via Custom Resource Definitions (CRDs) and API Aggregation, allowing you to add new resource types (CRDs) or delegate entire API g...

#51

How Do Validating vs. Mutating Admission Webhooks Differ?

Article

Mutating webhooks run first and can modify the incoming object (e.g., inject sidecars, set defaults); validating webhooks run second and can only accept or r...

#54

How Does etcd Store Kubernetes State Internally?: Architecture & Implementation

Article

etcd uses the Raft consensus algorithm to replicate a key-value store backed by BoltDB (bbolt) on disk, where all Kubernetes objects are stored as protobuf-e...

Related Glossary Terms

Reference definitions and architectural cheat sheets related to Kubernetes:

etcdkube-schedulerHelm chart
Up Next in Learning Paths

Gen AI

What an LLM actually does: mechanism over hype — tokens, attention mechanisms, embeddings, RAG architectures, and evaluation.

Path Progress

Kubernetes Roadmap

Completion0 / 113 (0%)
Path XP
0 XP
Streak
0 days
Level Badges
Kubernetes: BeginnerLocked