Kubernetes
Declarative cluster state: how the control plane reconciles desired vs. actual, across pods, deployments, and services.
Prerequisite Note
Assumes Docker fundamentals — container images, volumes, and Compose.
View prerequisite path (docker)Beginner Modules(0/50)
Kubernetes Architecture: Why Container Orchestration is Essential
ArticleKubernetes is an open-source container orchestration platform that automates deploying, scaling, and managing containerized applications across clusters of m...
Kubernetes Fundamentals: Why Container Orchestration is Essential for DevOps
ArticleProvides an in-depth breakdown of kubernetes fundamentals and its core operational mechanisms in production Kubernetes environments.
Manual Operations vs. Kubernetes: Problems Automated Orchestration Solves
ArticleKubernetes solves self-healing, scaling, service discovery, load balancing, rolling deployments, and configuration management — problems that become unmanage...
Manual Container Operations vs. Kubernetes: Problems Automated Orchestration Solves
ArticleProvides an in-depth breakdown of manual container operations vs. kubernetes and its core operational mechanisms in production Kubernetes environments.
Containers vs. Virtual Machines: Isolation Mechanisms at the Linux Kernel Level
ArticleA 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...
Containers vs. Virtual Machines: Isolation Mechanisms at the Linux Kernel Level
ArticleProvides an in-depth breakdown of containers vs. virtual machines and its core operational mechanisms in production Kubernetes environments.
Docker vs. Kubernetes: Runtime Engines vs. Cluster Orchestrators
ArticleDocker builds and runs containers on a single machine; Kubernetes orchestrates containers across many machines. They solve different problems and are complem...
Docker vs. Kubernetes: Container Runtime Engines vs. Cluster Orchestrators
ArticleProvides an in-depth breakdown of docker vs. kubernetes and its core operational mechanisms in production Kubernetes environments.
Control Plane vs. Worker Nodes: Key Architecture Components of a Kubernetes Cluster
ArticleA cluster has a Control Plane (API Server, etcd, Scheduler, Controller Manager) and Worker Nodes (kubelet, kube-proxy, container runtime), plus optionally a...
Control Plane vs. Worker Nodes: Key Architecture Components of a Kubernetes Cluster
ArticleProvides an in-depth breakdown of control plane vs. worker nodes and its core operational mechanisms in production Kubernetes environments.
etcd Architecture: Distributed Key-Value Store for Kubernetes Cluster State
Articleetcd 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...
etcd Architecture: Distributed Key-Value Store for Kubernetes Cluster State
ArticleProvides an in-depth breakdown of etcd architecture and its core operational mechanisms in production Kubernetes environments.
Understanding Pods: Why Kubernetes Groups Containers as the Smallest Deployable Unit
ArticleA Pod is a wrapper around one or more containers that share a network namespace and storage — Kubernetes schedules and manages Pods, not individual container...
Understanding Pods: Why Kubernetes Groups Containers as the Smallest Deployable Unit
ArticleProvides an in-depth breakdown of understanding pods and its core operational mechanisms in production Kubernetes environments.
Control Plane vs. Worker Nodes: Responsibilities and Component Breakdown
ArticleA Node is a physical or virtual machine in the cluster. Master nodes (control plane nodes) run cluster management components; worker nodes run your applicati...
Control Plane vs. Worker Nodes: Responsibilities and Component Breakdown
ArticleProvides an in-depth breakdown of control plane vs. worker nodes and its core operational mechanisms in production Kubernetes environments.
Inside kubectl apply: Execution Flow from API Server to Container Runtime
Articlekubectl → API Server → etcd (store) → Controller Manager (create pods) → Scheduler (assign nodes) → kubelet (run containers).
Inside kubectl apply: Detailed Execution Flow from API Server to Runtime
ArticleProvides an in-depth breakdown of inside kubectl apply and its core operational mechanisms in production Kubernetes environments.
Kubernetes Namespaces: Logical Cluster Isolation and Resource Scoping
ArticleA 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...
Kubernetes Namespaces: Logical Cluster Isolation and Multi-Tenancy Scoping
ArticleProvides an in-depth breakdown of kubernetes namespaces and its core operational mechanisms in production Kubernetes environments.
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.
Essential kubectl Commands: Operations and Debugging Cheat Sheet for DevOps
ArticleProvides an in-depth breakdown of essential kubectl commands and its core operational mechanisms in production Kubernetes environments.
Imperative vs. Declarative Management: Infrastructure as Code with Kubernetes Manifests
ArticleImperative commands (`kubectl run`, `kubectl create`) execute immediately and don't leave a record; declarative (`kubectl apply -f`) manages state via files...
Imperative vs. Declarative Management: Infrastructure as Code with Kubernetes Manifests
ArticleProvides an in-depth breakdown of imperative vs. declarative management and its core operational mechanisms in production Kubernetes environments.
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...
Dry-Run Mode: Validating Manifests and API Server Mutations via Client vs. Server Dry-Run
ArticleProvides an in-depth breakdown of dry-run mode and its core operational mechanisms in production Kubernetes environments.
Anatomy of a Kubernetes Manifest: The Four Essential Structure Fields
ArticleA manifest is a YAML file describing a desired Kubernetes object. Every manifest requires: `apiVersion`, `kind`, `metadata`, and `spec`.
Anatomy of a Kubernetes Manifest: The Four Essential Structure Fields
ArticleProvides an in-depth breakdown of anatomy of a kubernetes manifest and its core operational mechanisms in production Kubernetes environments.
Labels vs. Annotations: Resource Selectors vs. Operational Metadata
ArticleLabels 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...
Labels vs. Annotations: Resource Selectors vs. Operational Metadata
ArticleProvides an in-depth breakdown of labels vs. annotations and its core operational mechanisms in production Kubernetes environments.
Pod Lifecycle States: Phase Transitions from Pending to Running and Termination
ArticleA pod moves through: Pending → Running → Succeeded/Failed, with sub-states like CrashLoopBackOff, ImagePullBackOff, and OOMKilled visible in the container st...
Pod Lifecycle States: Phase Transitions from Pending to Running and Termination
ArticleProvides an in-depth breakdown of pod lifecycle states and its core operational mechanisms in production Kubernetes environments.
Init Containers: Pre-initialization, Dependency Waiting, and Setup Execution
ArticleInit 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...
Init Containers: Pod Pre-initialization, Dependency Waiting, and Setup Execution
ArticleProvides an in-depth breakdown of init containers and its core operational mechanisms in production Kubernetes environments.
Deployments vs. ReplicaSets: Declarative Scaling and Pod Template Management
ArticleA ReplicaSet ensures a specified number of pod replicas are running at all times; a Deployment manages ReplicaSets and adds rolling update and rollback capab...
Deployments vs. ReplicaSets: Declarative Scaling and Pod Template Management
ArticleProvides an in-depth breakdown of deployments vs. replicasets and its core operational mechanisms in production Kubernetes environments.
Kubernetes Deployment Spec: Pod Templates, Replicas, and Rollout Controls
ArticleA Deployment is the standard way to run stateless applications — it manages ReplicaSets, handles rolling updates, and maintains desired pod count through sel...
Kubernetes Deployment Spec: Pod Templates, Replicas, and Rollout Controls
ArticleProvides an in-depth breakdown of kubernetes deployment spec and its core operational mechanisms in production Kubernetes environments.
Rolling Update Strategy: Zero-Downtime Deployment Control with maxSurge and maxUnavailable
ArticleA rolling update gradually replaces old pods with new ones, controlled by `maxSurge` (extra pods allowed) and `maxUnavailable` (pods that can be down) — allo...
Rolling Update Strategy: Zero-Downtime Deployment Control with maxSurge and maxUnavailable
ArticleProvides an in-depth breakdown of rolling update strategy and its core operational mechanisms in production Kubernetes environments.
Kubernetes Services: Stable Networking and Service Discovery for Transient Pods
ArticleA 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...
Kubernetes Services: Stable Networking and Service Discovery for Transient Pods
ArticleProvides an in-depth breakdown of kubernetes services and its core operational mechanisms in production Kubernetes environments.
ClusterIP vs. NodePort vs. LoadBalancer vs. ExternalName: Service Type Selection
ArticleClusterIP (internal only), NodePort (node-level external access), LoadBalancer (cloud LB per service), ExternalName (DNS alias to external) — use Ingress ins...
ClusterIP vs. NodePort vs. LoadBalancer vs. ExternalName: Selecting the Right Service Type
ArticleProvides an in-depth breakdown of clusterip vs. nodeport vs. loadbalancer vs. externalname and its core operational mechanisms in production Kubernetes environments.
ConfigMaps: Decoupling Application Configuration from Container Images
ArticleA ConfigMap stores non-sensitive configuration data as key-value pairs that can be injected into pods as environment variables, command arguments, or mounted...
ConfigMaps: Decoupling Application Configuration from Container Images
ArticleProvides an in-depth breakdown of configmaps and its core operational mechanisms in production Kubernetes environments.
Kubernetes Secrets vs. ConfigMaps: Sensitive Data Storage and Base64 Limitations
ArticleSecrets store sensitive data (passwords, tokens, certificates) and are base64-encoded (NOT encrypted by default) — the real security comes from RBAC restrict...
Kubernetes Secrets vs. ConfigMaps: Sensitive Data Storage and Base64 Encoding Limitations
ArticleProvides an in-depth breakdown of kubernetes secrets vs. configmaps and its core operational mechanisms in production Kubernetes environments.
Kubernetes Self-Healing Mechanics: Automatic Restarts and Pod Rescheduling
ArticleWhen a pod crashes, the ReplicaSet controller detects the count has dropped below desired and creates a replacement pod — this happens automatically within s...
Kubernetes Self-Healing Mechanics: Automatic Container Restarts and Pod Rescheduling
ArticleProvides an in-depth breakdown of kubernetes self-healing mechanics and its core operational mechanisms in production Kubernetes environments.
Intermediate Modules(0/30)
Production Deployment Design: Stateless Scalable Web Applications with HPA
ArticleDeployment (3 replicas minimum) + ClusterIP Service + Ingress for external traffic + HPA for autoscaling + PodDisruptionBudget for availability — with resour...
Production Deployment Design: Stateless Scalable Web Applications with HPA and Services
ArticleProvides an in-depth breakdown of production deployment design and its core operational mechanisms in production Kubernetes environments.
Sidecar, Ambassador, and Adapter Patterns: Advanced Multi-Container Pod Designs
ArticleSidecar extends main container functionality (logging, proxying); Ambassador proxies outbound traffic; Adapter transforms output format — all are multi-conta...
Sidecar, Ambassador, and Adapter Patterns: Advanced Multi-Container Pod Designs
ArticleProvides an in-depth breakdown of sidecar, ambassador, and adapter patterns and its core operational mechanisms in production Kubernetes environments.
Debugging Pending Pods: Systematic Troubleshooting for Scheduling Blocks
ArticlePending means the scheduler can't find a suitable node — check Events in `kubectl describe pod` for the specific reason: insufficient resources, taint mismat...
Debugging Pending Pods: Systematic Troubleshooting for Node Capacity and Scheduling Blocks
ArticleProvides an in-depth breakdown of debugging pending pods and its core operational mechanisms in production Kubernetes environments.
CrashLoopBackOff Troubleshooting: Root Cause Analysis for Application Container Crashes
ArticleCrashLoopBackOff means the container starts and immediately crashes — get the previous container's logs with `kubectl logs --previous`, then check exit codes...
CrashLoopBackOff Troubleshooting: Root Cause Analysis for Application Container Crashes
ArticleProvides an in-depth breakdown of crashloopbackoff troubleshooting and its core operational mechanisms in production Kubernetes environments.
OOMKilled Prevention: Container Memory Limits, Cgroups, and Linux OOM Killer
ArticleOOMKilled 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...
OOMKilled Prevention: Container Memory Limits, Cgroups, and Linux Kernel OOM Killer
ArticleProvides an in-depth breakdown of oomkilled prevention and its core operational mechanisms in production Kubernetes environments.
Kubernetes Ingress Controllers: Layer 7 HTTP Routing and SSL/TLS Termination
ArticleDeploy 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...
Kubernetes Ingress Controllers: Layer 7 HTTP Routing and SSL/TLS Termination
ArticleProvides an in-depth breakdown of kubernetes ingress controllers and its core operational mechanisms in production Kubernetes environments.
CoreDNS Architecture: In-Cluster DNS Resolution and Service Record Lookup
ArticleCoreDNS runs as a Deployment in `kube-system` and automatically creates DNS records for every Service — pods resolve services using short names within the sa...
CoreDNS Architecture: In-Cluster DNS Resolution, Service Records, and Search Domains
ArticleProvides an in-depth breakdown of coredns architecture and its core operational mechanisms in production Kubernetes environments.
Storage Persistence: PersistentVolumes, PersistentVolumeClaims, and StorageClasses
ArticleA PersistentVolume (PV) is actual storage provisioned in the cluster; a PersistentVolumeClaim (PVC) is a pod's request for storage — Kubernetes binds them to...
Storage Persistence: PersistentVolumes, PersistentVolumeClaims, and StorageClasses Explained
ArticleProvides an in-depth breakdown of storage persistence and its core operational mechanisms in production Kubernetes environments.
Resource Requests vs. Limits: CPU/Memory Scheduling and Throttling Policies
ArticleRequests tell the scheduler how much to reserve; limits cap actual usage — without requests, pods land on random nodes causing resource contention; without l...
Resource Requests vs. Limits: CPU/Memory Scheduling, Throttling, and Eviction Policies
ArticleProvides an in-depth breakdown of resource requests vs. limits and its core operational mechanisms in production Kubernetes environments.
Kubernetes QoS Classes: Guaranteed, Burstable, and BestEffort Pod Eviction Priorities
ArticleQoS classes (Guaranteed, Burstable, BestEffort) determine which pods are evicted first when a node runs out of memory — Guaranteed pods are evicted last, Bes...
Kubernetes QoS Classes: Guaranteed, Burstable, and BestEffort Pod Eviction Priorities
ArticleProvides an in-depth breakdown of kubernetes qos classes and its core operational mechanisms in production Kubernetes environments.
Liveness, Readiness, and Startup Probes: Health Check Configurations
ArticleLiveness restarts dead containers; readiness removes unready pods from service load balancing; startup gives slow-starting apps time to initialize before liv...
Liveness, Readiness, and Startup Probes: Health Check Configurations and Failure Actions
ArticleProvides an in-depth breakdown of liveness, readiness, and startup probes and its core operational mechanisms in production Kubernetes environments.
StatefulSets vs. Deployments: Managing Stateful Applications with Stable Identities
ArticleStatefulSets give pods stable, persistent identities (fixed names, stable DNS, ordered startup) — use them for databases, message brokers, and any workload w...
StatefulSets vs. Deployments: Managing Stateful Applications with Stable Network Identities
ArticleProvides an in-depth breakdown of statefulsets vs. deployments and its core operational mechanisms in production Kubernetes environments.
DaemonSets: Running Node-Level Daemon Agents for Logging and Monitoring
ArticleA 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...
DaemonSets: Running Node-Level Daemon Agents for Logging, Monitoring, and Networking
ArticleProvides an in-depth breakdown of daemonsets and its core operational mechanisms in production Kubernetes environments.
Kubernetes RBAC: Implementing Roles, ClusterRoles, and Bindings for Granular Security
ArticleRBAC (Role-Based Access Control) grants permissions to subjects (users, groups, ServiceAccounts) through Roles (namespace-scoped) or ClusterRoles (cluster-wi...
Kubernetes RBAC: Implementing Roles, ClusterRoles, and Bindings for Granular Authorization
ArticleProvides an in-depth breakdown of kubernetes rbac and its core operational mechanisms in production Kubernetes environments.
ServiceAccounts vs. User Accounts: Identity, Token Auth, and Pod Authorization
ArticleServiceAccounts are identities for pods and processes running inside Kubernetes; user accounts are for humans accessing the cluster from outside — ServiceAcc...
ServiceAccounts vs. User Accounts: Identity, Token Authentication, and Pod Authorization
ArticleProvides an in-depth breakdown of serviceaccounts vs. user accounts and its core operational mechanisms in production Kubernetes environments.
Advanced Modules(0/23)
GitLab CI/CD Integration: Automated Container Builds and Manifest Deployments
ArticleThe modern pattern is push-based CI (GitLab builds + tests + pushes image) combined with pull-based CD (ArgoCD detects config changes and syncs to cluster) —...
GitLab CI/CD Integration: Automated Container Builds, Testing, and Manifest Deployments
ArticleProvides an in-depth breakdown of gitlab ci/cd integration and its core operational mechanisms in production Kubernetes environments.
GitOps Workflow: Declarative Infrastructure Management with ArgoCD and Flux
ArticleGitOps treats Git as the single source of truth for cluster state — changes happen via Git commits (not kubectl), and a controller continuously reconciles cl...
GitOps Workflow: Declarative Infrastructure Management with ArgoCD and Flux
ArticleProvides an in-depth breakdown of gitops workflow and its core operational mechanisms in production Kubernetes environments.
NetworkPolicies: Micro-Segmentation and Pod Traffic Filtering with Calico or Cilium
ArticleNetworkPolicies are pod-level firewalls that whitelist allowed ingress and egress traffic — start with a default-deny-all policy per namespace, then explicit...
NetworkPolicies: Micro-Segmentation and Pod-to-Pod Traffic Filtering with Calico or Cilium
ArticleProvides an in-depth breakdown of networkpolicies and its core operational mechanisms in production Kubernetes environments.
Kubernetes Disaster Recovery: Cluster Backup, etcd Snapshots, and Velero
ArticleA complete DR strategy has three layers — GitOps (cluster config in Git), Velero (PVC data backup), and infrastructure-as-code (cluster rebuild automation) —...
Kubernetes Disaster Recovery: Cluster Backup, etcd Snapshots, and Velero Restoration
ArticleProvides an in-depth breakdown of kubernetes disaster recovery and its core operational mechanisms in production Kubernetes environments.
Zero-Downtime Cluster Upgrades: Master Control Plane and Worker Maintenance
ArticleUpgrade 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...
Zero-Downtime Cluster Upgrades: Master Control Plane and Worker Node Maintenance via kubeadm
ArticleProvides an in-depth breakdown of zero-downtime cluster upgrades and its core operational mechanisms in production Kubernetes environments.
Kubernetes Upgrade Strategy: Architecture & Implementation
ArticleIn-depth architectural breakdown and operational implementation for Kubernetes Upgrade Strategy: Architecture & Implementation.
CI/CD Pipeline Security Scanning & Compliance: Architecture & Implementation
ArticleIn-depth architectural breakdown and operational implementation for CI/CD Pipeline Security Scanning & Compliance: Architecture & Implementation.
Zero-Downtime Deployments: Architecture & Implementation
ArticleIn-depth architectural breakdown and operational implementation for Zero-Downtime Deployments: Architecture & Implementation.
Blue/Green and Canary Deployments with Argo Rollouts: Architecture & Implementation
ArticleIn-depth architectural breakdown and operational implementation for Blue/Green and Canary Deployments with Argo Rollouts: Architecture & Implementation.
Cluster Resource Exhaustion: Monitoring and Scaling Strategy
ArticleIn-depth architectural breakdown and operational implementation for Cluster Resource Exhaustion: Monitoring and Scaling Strategy.
Exposed Secrets in ConfigMap: Incident Response
ArticleIn-depth architectural breakdown and operational implementation for Exposed Secrets in ConfigMap: Incident Response.
Advanced RBAC Design for Multi-Team Organization: Architecture & Implementation
ArticleIn-depth architectural breakdown and operational implementation for Advanced RBAC Design for Multi-Team Organization: Architecture & Implementation.
StatefulSet Design for Database Pods: Architecture & Implementation
ArticleIn-depth architectural breakdown and operational implementation for StatefulSet Design for Database Pods: Architecture & Implementation.
Istio Traffic Management and Circuit Breaking: Architecture & Implementation
ArticleIn-depth architectural breakdown and operational implementation for Istio Traffic Management and Circuit Breaking: Architecture & Implementation.
Advanced Pod Scheduling: Affinity, Taints, and Topology
ArticleIn-depth architectural breakdown and operational implementation for Advanced Pod Scheduling: Affinity, Taints, and Topology.
What is the Kubernetes API Extension Model?: Architecture & Implementation
ArticleKubernetes extends its API via Custom Resource Definitions (CRDs) and API Aggregation, allowing you to add new resource types (CRDs) or delegate entire API g...
How Do Validating vs. Mutating Admission Webhooks Differ?
ArticleMutating 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...
How Does etcd Store Kubernetes State Internally?: Architecture & Implementation
Articleetcd 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:
Gen AI
What an LLM actually does: mechanism over hype — tokens, attention mechanisms, embeddings, RAG architectures, and evaluation.
