Why Use Kubernetes and When Not To: A Production Decision Guide
Why use Kubernetes and when not to: benefits, real ownership costs, simpler alternatives, and a decision table for teams choosing a container platform.
This Kubernetes roadmap is a production learning path for busy engineers who need Kubernetes to run real workloads, not just pass a tutorial. Start with the platform decision and core concepts, build a local multi-node lab, then move through networking, storage, security, observability, autoscaling, GitOps and incident triage in order. Follow the completed 46-lesson Learning Path in order or browse all published Kubernetes runbooks, comparisons, and pillars by category in one place.
46 lessons live now · 0 upcoming across 13 modules (46 total lessons). Completed sequential learning path.
100 Kubernetes resources live · 0 upcoming across 12 categories (100 total tracked).
Use this Kubernetes learning path in order if you are new to production Kubernetes. Each module answers one operational question, then links to the next lesson. If you already run clusters, jump to the module that matches your current problem: networking, storage, security, autoscaling or incident triage.
Follow the 13 modules below to learn Kubernetes step by step — from core architecture and a local lab through networking, security, observability, autoscaling, GitOps, and a complete Kubernetes SRE roadmap for production incidents.
Short on time? Work through these 8 foundational stops first:
Every module answers one operational question in sequence. Click a module to jump straight to its lessons and runbooks.
Start by deciding whether Kubernetes fits your workload, then master the core objects that every later module depends on. A Pod wraps containers, a Deployment manages stateless replicas, a Service stabilizes network discovery, and the control plane continuously reconciles desired state across worker nodes running a container runtime.
Core entities: Pod (the smallest deployable unit wrapping one or more containers), Deployment (controller for stateless Pod replicas), Service (stable virtual IP and DNS endpoint), control plane, worker node, and container runtime. Best for platform fit decisions and building your first mental model.
Why use Kubernetes and when not to: benefits, real ownership costs, simpler alternatives, and a decision table for teams choosing a container platform.
Kubernetes concepts explained with a shipping-port analogy: pods, nodes, Deployments, Services, Ingress, probes, HPA, and what happens after kubectl apply.
A comprehensive platform engineering guide to Kubernetes architecture: control plane internals, etcd Raft consensus, kube-scheduler algorithms, worker node stacks, workload controllers, and multi-AZ high availability.
Kubernetes container internals explained: namespaces, cgroups v2, runc, containerd and the pause sandbox, with node commands SREs can run during incidents.
An exhaustive technical comparison of Kubernetes vs Docker, Docker Swarm, and Docker Compose. Learn architectural differences, when to use each, production best practices, and hands-on commands.
Kubernetes automates Pod placement, self-healing restarts, service discovery, zero-downtime rollouts, and horizontal scaling across multiple worker nodes through a continuous control-plane reconciliation loop. Use it when fleet complexity justifies platform ownership; for small single-host apps, see our decision framework in Why Use Kubernetes and When Not To.
The API server stores desired cluster state in etcd while controllers and kube-scheduler assign Pods to worker nodes, where kubelet and runc enforce namespaces and cgroups. Walk through the full control-plane lifecycle in Kubernetes Concepts Explained.
Choose between managed Kubernetes platforms such as AWS EKS, Google GKE, and Azure AKS or start with a zero-cost multi-node kind lab locally. Once your cluster is ready, deploy one workload declaratively using YAML manifests and keep kubectl close for fast cluster inspection and rollouts.
Core entities: Amazon EKS, Google GKE, Azure AKS, kind (Kubernetes in Docker), kubectl CLI, and declarative YAML manifests. Best for choosing a managed platform and spinning up a repeatable local practice lab.
| Option | Control Plane Ops | Best Use Case | Watch Out For |
|---|---|---|---|
| AWS EKS | Managed AWS control plane; IAM IRSA / Pod Identity | Teams standardized on AWS VPC, IAM, and Karpenter | Add-on upgrades, VPC CNI IP exhaustion |
| Google GKE | Autopilot or Standard with strong automated upgrades | Fastest managed Kubernetes ergonomics and multi-zone GKE | GKE Autopilot workload constraints |
| Azure AKS | Free control plane tier; deep Entra ID integration | Enterprises running Azure workloads and AKS node pools | Ingress/CNI overlay sizing upfront |
| Local kind Lab | Multi-node control plane + workers in Docker containers | Zero-cost local Kubernetes learning and CI testing | Local RAM/CPU limits on laptops |
EKS vs GKE vs AKS for production teams: upgrades, networking, identity, autoscaling and cost shape compared so you can choose managed Kubernetes with evidence.
Build a kind local Kubernetes cluster with one control plane and two workers, load local images, expose services and test scheduling without cloud spend.
Your first Kubernetes deployment, done both ways: imperative kubectl commands vs declarative YAML, with dry-run generation, selector rules and rollout checks.
The complete kubectl master guide every DevOps engineer should know, covering cluster contexts, node draining, pod debugging, ephemeral containers, Server-Side Apply, rollouts, RBAC auditing, and JSONPath formatting.
Select the managed Kubernetes control plane aligned with your primary cloud IAM, VPC networking, and billing model rather than chasing minor feature differences. Compare control-plane SLAs, node pricing, and operational tradeoffs in EKS vs GKE vs AKS for Production.
Install Docker and kind, define a multi-node YAML topology with one control-plane node and two workers, and verify cluster contexts with kubectl. Follow the step-by-step setup in Kind Local Kubernetes Cluster Lab.
Understand how the Kubernetes Pod lifecycle moves through Pending, Running, CrashLoopBackOff, and graceful termination before selecting a workload controller. Use Deployments and ReplicaSets for stateless apps, StatefulSets for ordered persistent identities, DaemonSets for one Pod per node, and Jobs or CronJobs for batch execution.
Core entities: Pod, Deployment, ReplicaSet, StatefulSet, DaemonSet, Job, and CronJob. Best for matching each workload shape to the right controller semantics.
| Controller | Pod Identity & Storage | Scheduling Behavior | Primary Production Fit |
|---|---|---|---|
| Deployment | Ephemeral names; shared or stateless storage | Scales stateless replicas via ReplicaSets across nodes | Web APIs, microservices, stateless workers |
| StatefulSet | Stable ordinal hostnames (pod-0) + dedicated PVCs | Ordered startup, scaling, and termination guarantees | Databases, Kafka, ZooKeeper, distributed state |
| DaemonSet | One Pod instance bound per eligible worker node | Tracks node additions and taints automatically | Log shippers, CNI agents, node exporters |
Deployment vs StatefulSet vs DaemonSet explained with YAML examples: when to use each Kubernetes workload, decision matrix, and failure modes to avoid.
Kubernetes pod lifecycle explained for busy SREs: Pending, Running, CrashLoopBackOff, probes, and graceful termination checks you can run with kubectl.
Kubernetes Jobs and CronJobs explained: completions, parallelism, backoffLimit, deadlines, TTL, concurrencyPolicy and idempotency for reliable batch work.
Use a Deployment for interchangeable stateless replicas, a StatefulSet when Pods require stable ordinal network identities and dedicated persistent volumes, and a DaemonSet when every node needs one agent Pod. See YAML manifests and decision tables in Deployment vs StatefulSet vs DaemonSet.
Kubernetes networking connects Pods across nodes using a CNI (Container Network Interface) plugin while Services expose ClusterIP, NodePort, LoadBalancer, and headless discovery endpoints. For north-south HTTP and TCP routing, Ingress handles basic host rules whereas Gateway API separates GatewayClass, Gateway, and HTTPRoute ownership cleanly.
Core entities: CNI (Container Network Interface), Service (ClusterIP, NodePort, LoadBalancer, Headless), Ingress, GatewayClass, Gateway, and HTTPRoute. Best for east-west traffic flow, DNS service discovery, and north-south ingress routing.
| Layer | API Model | Strengths | When to Adopt |
|---|---|---|---|
| Ingress | Single Ingress object + vendor annotations | Simple HTTP host/path TLS termination | Small teams needing basic HTTP routing |
| Gateway API | Role-oriented GatewayClass, Gateway, HTTPRoute | Typed traffic splitting, cross-namespace routes, portable spec | Modern production clusters replacing annotation sprawl |
| Service Mesh | Sidecar or ambient proxy + Gateway integration | mTLS identity, L7 retries, zero-trust east-west policy | Multi-team regulated environments needing mTLS |
Kubernetes CNI explained: how IPAM and veth pairs wire Pods, how iptables, Calico BGP and Cilium eBPF move packets, and how NetworkPolicy gets enforced.
Kubernetes services explained for production: ClusterIP, NodePort, LoadBalancer and headless types, kube-proxy modes, CoreDNS names and endpoint fixes.
Kubernetes Gateway API tutorial with GatewayClass, Gateway listeners and HTTPRoute matching, TLS, ReferenceGrant, status checks and an Ingress migration path.
Ingress vs Gateway API vs Service Mesh in Kubernetes: north-south vs east-west traffic, YAML, migration, mTLS, and which layer to choose in production.
Start with Ingress for basic host and path routing, adopt Gateway API when you need role-separated gateway ownership, weighted traffic splitting, or TCP/gRPC routing without vendor annotations, and add a service mesh only when east-west mTLS or L7 policy justifies the proxy overhead. Compare all three in Ingress vs Gateway API vs Service Mesh.
Keep environment configuration outside container images using ConfigMaps for non-sensitive settings and Secrets for credentials. Because standard Kubernetes Secrets only base64-encode values unless etcd encryption at rest is enabled, production teams use External Secrets Operator to sync and rotate secrets from Vault or AWS Secrets Manager.
Core entities: ConfigMap, Secret, etcd encryption at rest, External Secrets Operator, HashiCorp Vault, and AWS Secrets Manager. Best for decoupling configuration from images and automating credential rotation.
Kubernetes ConfigMaps and Secrets explained: env vars, envFrom, volume mounts, subPath traps, encryption at rest, external stores, and safe rotation.
External Secrets Operator on Kubernetes syncs Vault and AWS Secrets Manager values into native Secrets with scoped auth, refresh controls, and safer rotation.
ConfigMaps store non-confidential configuration as plain key-value pairs, whereas Secrets carry sensitive data like API tokens and TLS certificates—though Kubernetes stores them base64-encoded by default unless you enable KMS encryption at rest and RBAC restrictions. Learn production secret patterns in Kubernetes ConfigMaps and Secrets.
CPU and memory requests reserve capacity for scheduling, whereas limits enforce Linux cgroup ceilings that trigger CPU throttling or OOMKilled exits. Configure ResourceQuota and LimitRange per namespace as multi-tenant guardrails, and understand Guaranteed, Burstable, and BestEffort QoS classes to control kubelet eviction order during pressure.
Core entities: resource requests, resource limits, ResourceQuota, LimitRange, QoS classes (Guaranteed, Burstable, BestEffort), and Linux cgroups. Best for cluster capacity guardrails and preventing noisy-neighbor outages.
Kubernetes ResourceQuota and LimitRange cap namespace totals and set per-container defaults. Learn hard limits, scopes, quota errors and multi-team guardrails.
Kubernetes QoS classes set eviction order under node pressure. Learn Guaranteed, Burstable and BestEffort rules, kubelet thresholds and priority effects.
Exceeding a CPU limit triggers CFS quota throttling in the kernel, increasing latency without killing the Pod. Exceeding a memory limit causes the Linux kernel cgroup OOM killer to terminate the process with exit code 137 (OOMKilled). Diagnose memory-limit kills in Kubernetes OOMKilled: Fix Exit Code 137.
The kube-scheduler filters and scores worker nodes for every Pending Pod using nodeSelector, node affinity, and Pod anti-affinity rules. Combine taints and tolerations to isolate dedicated nodes, topology spread constraints to balance replicas across availability zones, and PriorityClass preemption to protect critical workloads under tight capacity.
Core entities: kube-scheduler, nodeSelector, node affinity, Pod anti-affinity, taints, tolerations, topologySpreadConstraints, and PriorityClass. Best for workload placement, GPU/spot isolation, and multi-AZ resilience.
Kubernetes scheduling with nodeSelector, node affinity and pod anti-affinity: required vs preferred rules, topologyKey choices and Pending pod fixes.
Kubernetes taints and tolerations explained: NoSchedule, PreferNoSchedule, NoExecute, tolerationSeconds and dedicated GPU, spot and system node pools.
Topology spread constraints keep replicas even across zones and nodes, while Pod priority preemption decides who runs when capacity runs out. Learn both.
kube-scheduler runs a two-phase cycle: filtering out nodes that fail resource requests, nodeSelectors, or untolerated taints, then scoring surviving nodes using affinity weights and topologySpreadConstraints to balance zones. Until the dedicated scheduling lessons publish, review placement best practices in Kubernetes Best Practices.
Kubernetes persistent storage relies on CSI (Container Storage Interface) drivers and StorageClasses to dynamically provision PersistentVolumes whenever a workload requests a PersistentVolumeClaim. For databases and stateful apps, pair StatefulSet volumeClaimTemplates with headless Services and explicit Retain reclaim policies so restarts never lose durable disk state.
Core entities: CSI (Container Storage Interface), PersistentVolume (PV), PersistentVolumeClaim (PVC), StorageClass, volumeClaimTemplates, and reclaimPolicy. Best for stateful services and database durability.
Kubernetes storage explained: bind PVCs to PVs with StorageClasses, trace CSI provisioning, choose access modes, and avoid Pending claims and data loss.
StatefulSet storage patterns: volumeClaimTemplates per Pod, headless Service DNS, PVC retain vs delete, scaling and resize safety for production Kubernetes.
A StorageClass defines storage parameters and points to a CSI driver plugin. When a Pod or StatefulSet creates a PersistentVolumeClaim (PVC), the CSI provisioner dynamically creates the backing cloud or local volume and binds a PersistentVolume (PV). Pair this with StatefulSet ordinal patterns covered in Deployment vs StatefulSet vs DaemonSet.
Production Kubernetes security enforces least privilege across identities, workloads, and network paths. Bind ServiceAccounts to scoped Roles and ClusterRoles via RBAC (Role-Based Access Control), harden containers with non-root SecurityContext flags and Pod Security Standards, and enforce cluster-wide guardrails instead of relying on permissive defaults.
Core entities: RBAC (Role-Based Access Control), Role, ClusterRole, RoleBinding, ServiceAccount, SecurityContext, and Pod Security Standards. Best for least-privilege access control and container hardening.
Learn Kubernetes RBAC with Roles, ClusterRoles, bindings and ServiceAccounts, plus least-privilege design, escalation risks and kubectl auth can-i audits.
Kubernetes SecurityContext and Pod Security Standards explained: runAsNonRoot, dropped capabilities, seccomp, and labels that pass the restricted profile.
Production Kubernetes best practices: resource sizing (requests and limits), startup/liveness/readiness probes, PodDisruptionBudgets, topology spread, zero-downtime termination, and security profiles.
Disable automountServiceAccountToken where API access is unnecessary, scope RBAC bindings strictly by namespace and verb, drop Linux capabilities, set runAsNonRoot: true and readOnlyRootFilesystem: true, and enforce Pod Security Admission profiles. Review the complete hardening checklist in Kubernetes Best Practices.
Kubernetes observability must explain what changed, which Pod degraded, and whether the node, network, or application owns the failure. Combine Prometheus metrics from cAdvisor and kube-state-metrics, Grafana dashboards, Loki logs, and OpenTelemetry traces with focused PromQL alerts for CPU throttling, memory pressure, and restart loops.
Core entities: Prometheus, Grafana, Loki, OpenTelemetry, PromQL, cAdvisor, and kube-state-metrics. Best for actionable SRE alerting, dashboards, and distributed incident correlation.
Build a Kubernetes observability stack with Prometheus, Grafana, Loki and OpenTelemetry: metrics, logs, traces, alerts, retention and cost controls.
PromQL for Kubernetes SREs: throttling ratios, memory working set alerts, restart counts, recording rules and alert durations that hold up on call.
Track Pod phase and container restart counts from kube-state-metrics, container working-set memory and CFS CPU throttling from cAdvisor, plus application traces via OpenTelemetry rather than alerting on raw node CPU alone. Explore monitoring architecture and PromQL patterns in OpenTelemetry vs Prometheus.
Kubernetes autoscaling succeeds when Pod resource requests match actual behavior and scaling loops align. Use HPA (Horizontal Pod Autoscaler) to scale replica counts from CPU, memory, or custom metrics, VPA to right-size containers, and Karpenter NodePools instead of Cluster Autoscaler for fast, consolidated node provisioning.
Core entities: HPA (Horizontal Pod Autoscaler), VPA (Vertical Pod Autoscaler), Karpenter NodePool, and Cluster Autoscaler. Best for horizontal replica scaling, vertical right-sizing, and just-in-time node compute.
| Scaler | Scaling Axis | Signal Source | Production Role |
|---|---|---|---|
| HPA | Horizontal Pod replica count | CPU/memory utilization or custom/external metrics | Match replica capacity to live traffic |
| VPA | Vertical Pod CPU/memory requests | Historical container usage distributions | Right-size requests (avoid CPU conflict with HPA) |
| Karpenter | Worker nodes directly via cloud APIs | Pending unschedulable Pods + NodePool constraints | Fast provisioning, Spot mix, and bin-packing consolidation |
HPA vs VPA in Kubernetes explained: replica scaling, pod rightsizing, YAML, safe combinations, death-spiral risks, troubleshooting, and workload fit.
Kubernetes HPA v2 tutorial: scale Deployments on CPU, memory and custom metrics with autoscaling/v2, behaviour policies, stabilization windows and safe limits.
Karpenter vs Cluster Autoscaler for production Kubernetes: provisioning speed, Spot handling, consolidation, EKS Auto Mode, tuning flags, and migration steps.
Karpenter NodePool patterns for production: Spot diversity, consolidation policies, disruption budgets, expireAfter rotation, pool limits and rollout checks.
HPA adds or removes Pod replicas while VPA adjusts container CPU and memory requests. Never point both HPA and VPA at the same CPU metric on the same Deployment or they will thrash; use HPA on custom/request metrics or VPA in recommendation mode. Compare patterns in HPA vs VPA in Kubernetes.
Cluster Autoscaler scales predefined cloud node groups (ASGs), whereas Karpenter inspects unschedulable Pod constraints directly and launches right-sized instances in under a minute while consolidating underutilized nodes. See the full architectural breakdown in Karpenter vs Cluster Autoscaler.
Safe Kubernetes delivery relies on GitOps, where Git acts as the single source of truth reconciled continuously by Argo CD or Flux. Package manifests cleanly with Helm and Kustomize, and replace ad-hoc cluster edits with rolling updates, blue/green switches, and metric-gated canary releases with fast rollback.
Core entities: GitOps (declarative pull-based reconciliation from Git), Argo CD, Flux, Helm, Kustomize, canary release, and blue/green deployment. Best for repeatable multi-cluster delivery and automated rollbacks.
| Engine | Architecture & UX | Multi-Tenancy & Delivery | Best Fit |
|---|---|---|---|
| Argo CD | Centralized controller with built-in Web UI and RBAC | ApplicationSets + Argo Rollouts for canary UI visibility | Platform teams wanting visual diff/sync and SSO dashboards |
| Flux | Modular Unix-style toolkit controllers + OCI/Helm sources | Kustomize & Helm controllers + Flagger progressive delivery | Git-first teams preferring lightweight composable controllers |
Kubernetes deployment strategies compared: rolling, blue/green and canary releases with maxSurge tuning, traffic weights, rollback paths and database safety.
Comprehensive deployment reliability guide: blue-green cutover, canary analysis with Argo Rollouts and Flagger, automated rollback triggers, and traffic routing.
GitOps best practices for production: OpenGitOps principles, drift control, Argo CD and Flux patterns, secrets, and safe git revert rollbacks.
Argo CD vs Flux: an in-depth enterprise GitOps comparison. Evaluate centralized API architecture vs modular controller design, multi-tenancy, secrets management, progressive delivery, and performance.
Helm and Kustomize in GitOps pipelines: package vendor charts, patch your own services, render in CI, and reconcile with Argo CD or Flux without drift.
Choose Argo CD if teams benefit from a centralized visual UI, SSO RBAC, and ApplicationSets; choose Flux if you prefer lightweight composable controllers, native OCI artifact reconciliation, and minimal operational footprint. Compare multi-tenancy and progressive delivery in Argo CD vs Flux.
Day-two Kubernetes operations combine fast incident triage with cluster lifecycle hygiene. Diagnose CrashLoopBackOff, ImagePullBackOff, OOMKilled exit code 137, and Pending Pods systematically, extend the API safely with CustomResourceDefinitions and Operators, drain and upgrade nodes with kubeadm, and verify etcd backup and restore drills regularly.
Core entities: CrashLoopBackOff, ImagePullBackOff, OOMKilled (exit code 137), etcd (consistent key-value store backing cluster state), kubeadm, CustomResourceDefinition (CRD), and Operator (domain-specific controller watching custom resources). Best for live incident response and cluster disaster recovery.
Learn how to fix CrashLoopBackOff in Kubernetes: read exit codes, check OOMKilled 137, fix liveness probes, and debug pods with kubectl logs --previous.
Kubernetes ImagePullBackOff fix guide: read ErrImagePull events, repair registry auth, pull secrets, rate limits, TLS, DNS, node pulls and moved images.
Kubernetes OOMKilled explained: exit code 137, cgroup memory limits, leak vs limit triage, kubectl checks, runtime tuning, and fixes that stop restarts.
Fix a Kubernetes Pod stuck Pending: read scheduler events, then triage insufficient resources, taints, affinity, unbound PVCs, quotas and preemption.
Learn Kubernetes CRDs and operators: design a safe custom API, write the reconciliation loop, scope RBAC, version schemas and test upgrades before production.
Learn kubeadm cluster administration: join nodes, drain safely, upgrade one minor version at a time, renew certificates and recover failed nodes.
Learn etcd backup and restore for Kubernetes disaster recovery: take snapshots, store them off-cluster, restore into a new data dir and rehearse recovery.
Check container exit codes and previous logs with kubectl describe pod and kubectl logs --previous: CrashLoopBackOff signals repeated container exits from app crashes or aggressive liveness probes, while exit code 137 confirms a SIGKILL from cgroup OOM enforcement or node eviction. Start with Kubernetes CrashLoopBackOff Troubleshooting.
Kubelet could not pull the container image due to a misspelled tag, missing imagePullSecrets, expired registry credentials, or egress network blocking. Follow the triage steps in Kubernetes ImagePullBackOff Troubleshooting.
Debugging a failing cluster right now? Jump straight to the runbook for your Pod failure mode without scanning the full curriculum.
Container exits repeatedly after startup or probe failure
Open troubleshooting runbook →Registry auth, tag mismatch, or image pull timeout
Open troubleshooting runbook →Linux cgroup memory limit exceeded and SIGKILL terminated process
Open troubleshooting runbook →Scheduler constraints, untolerated taints, PVC binding, or ResourceQuota limits
Open troubleshooting runbook →Every Kubernetes roadmap lesson, incident runbook, container runtime guide, and cloud-native observability pillar organized by operational topic. 100 published resources · 0 P0 guides queued.
Foundational platform decision, Kubernetes control-plane concepts, YAML deployment workflow, and core workload controllers from the 46-lesson learning sequence.
Why use Kubernetes and when not to: benefits, real ownership costs, simpler alternatives, and a decision table for teams choosing a container platform.
Kubernetes concepts explained with a shipping-port analogy: pods, nodes, Deployments, Services, Ingress, probes, HPA, and what happens after kubectl apply.
A comprehensive platform engineering guide to Kubernetes architecture: control plane internals, etcd Raft consensus, kube-scheduler algorithms, worker node stacks, workload controllers, and multi-AZ high availability.
An exhaustive technical comparison of Kubernetes vs Docker, Docker Swarm, and Docker Compose. Learn architectural differences, when to use each, production best practices, and hands-on commands.
Your first Kubernetes deployment, done both ways: imperative kubectl commands vs declarative YAML, with dry-run generation, selector rules and rollout checks.
Deployment vs StatefulSet vs DaemonSet explained with YAML examples: when to use each Kubernetes workload, decision matrix, and failure modes to avoid.
Kubernetes pod lifecycle explained for busy SREs: Pending, Running, CrashLoopBackOff, probes, and graceful termination checks you can run with kubectl.
Kubernetes Jobs and CronJobs explained: completions, parallelism, backoffLimit, deadlines, TTL, concurrencyPolicy and idempotency for reliable batch work.
Step-by-step production triage playbooks for CrashLoopBackOff, ImagePullBackOff, OOMKilled, Pod Stuck Pending, container networking drops, DNS, and node failures.
Learn how to fix CrashLoopBackOff in Kubernetes: read exit codes, check OOMKilled 137, fix liveness probes, and debug pods with kubectl logs --previous.
Kubernetes ImagePullBackOff fix guide: read ErrImagePull events, repair registry auth, pull secrets, rate limits, TLS, DNS, node pulls and moved images.
Kubernetes OOMKilled explained: exit code 137, cgroup memory limits, leak vs limit triage, kubectl checks, runtime tuning, and fixes that stop restarts.
Fix a Kubernetes Pod stuck Pending: read scheduler events, then triage insufficient resources, taints, affinity, unbound PVCs, quotas and preemption.
In-depth container networking troubleshooting guide: isolate packet drops, CNI plugin issues (Calico, Cilium), CoreDNS timeouts, and overlay network latency.
Kubernetes Service has no endpoints? Triage selectors, readiness probes, EndpointSlices, targetPort and CoreDNS with kubectl checks that find the cause.
Kubernetes DNS troubleshooting for CoreDNS timeouts, ndots delays, SERVFAIL and NXDOMAIN: kubectl checks, resolv.conf fixes and NodeLocal DNSCache guidance.
Kubernetes CPU throttling explained: CFS quotas, nr_throttled metrics, PromQL checks and request/limit fixes that cut p99 latency without overspending.
Kubernetes Node NotReady? Separate Ready False from Unknown, then fix kubelet, runtime, disk, memory, PID and CNI causes with kubectl checks.
Fix Kubernetes DiskPressure fast: find node disk pressure causes, kubelet eviction thresholds, image GC, inode exhaustion, logs and safe cleanup steps.
Kubernetes CreateContainerError means the runtime failed to create the container. Read the event tail, then fix mounts, cgroups, devices and policy denials.
Kubernetes CreateContainerConfigError means kubelet cannot resolve config before start. Fix missing ConfigMaps, Secrets, keys, envFrom and namespace errors.
Kubernetes RunContainerError means the runtime cannot start the process. Fix entrypoint, exec format, permission, interpreter and securityContext causes.
Kubernetes probes deep dive: startup, readiness and liveness timing, handlers, restart storms, endpoint removal and production-safe probe settings.
CNI packet paths, ClusterIP/NodePort/LoadBalancer/Headless Services, Gateway API routing, and Ingress vs Service Mesh architecture decisions.
Kubernetes CNI explained: how IPAM and veth pairs wire Pods, how iptables, Calico BGP and Cilium eBPF move packets, and how NetworkPolicy gets enforced.
Kubernetes services explained for production: ClusterIP, NodePort, LoadBalancer and headless types, kube-proxy modes, CoreDNS names and endpoint fixes.
Kubernetes Gateway API tutorial with GatewayClass, Gateway listeners and HTTPRoute matching, TLS, ReferenceGrant, status checks and an Ingress migration path.
Ingress vs Gateway API vs Service Mesh in Kubernetes: north-south vs east-west traffic, YAML, migration, mTLS, and which layer to choose in production.
Gateway API migration from Ingress NGINX: convert Ingresses with ingress2gateway, fix annotation gaps, run in parallel, and cut over with a DNS rollback.
Istio Ambient vs Linkerd vs Cilium service mesh compared: datapath, mTLS, L7 depth, overhead evidence, licensing, and when to skip a mesh entirely.
Build Istio ingress Gateway API traffic with Kubernetes Gateway API, GatewayClass istio, HTTPRoute, HTTPS, canary weights and troubleshooting.
PersistentVolumeClaims, StorageClass CSI provisioning, volumeClaimTemplates, headless Services, and Retain-policy stateful storage engineering.
Kubernetes storage explained: bind PVCs to PVs with StorageClasses, trace CSI provisioning, choose access modes, and avoid Pending claims and data loss.
StatefulSet storage patterns: volumeClaimTemplates per Pod, headless Service DNS, PVC retain vs delete, scaling and resize safety for production Kubernetes.
Kubernetes PVC stuck Pending: fix missing StorageClasses, CSI provisioning failures, zone mismatches and volume mount errors with kubectl checks.
Placement rules, taints and tolerations, topology spread, QoS eviction, ResourceQuotas, HPA/VPA, KEDA, Karpenter, and cluster FinOps optimization.
Kubernetes ResourceQuota and LimitRange cap namespace totals and set per-container defaults. Learn hard limits, scopes, quota errors and multi-team guardrails.
Kubernetes QoS classes set eviction order under node pressure. Learn Guaranteed, Burstable and BestEffort rules, kubelet thresholds and priority effects.
Kubernetes scheduling with nodeSelector, node affinity and pod anti-affinity: required vs preferred rules, topologyKey choices and Pending pod fixes.
Kubernetes taints and tolerations explained: NoSchedule, PreferNoSchedule, NoExecute, tolerationSeconds and dedicated GPU, spot and system node pools.
Topology spread constraints keep replicas even across zones and nodes, while Pod priority preemption decides who runs when capacity runs out. Learn both.
HPA vs VPA in Kubernetes explained: replica scaling, pod rightsizing, YAML, safe combinations, death-spiral risks, troubleshooting, and workload fit.
Kubernetes HPA v2 tutorial: scale Deployments on CPU, memory and custom metrics with autoscaling/v2, behaviour policies, stabilization windows and safe limits.
Karpenter vs Cluster Autoscaler for production Kubernetes: provisioning speed, Spot handling, consolidation, EKS Auto Mode, tuning flags, and migration steps.
Kubernetes cost optimization with OpenCost allocation, Goldilocks and VPA right-sizing, Karpenter consolidation and Spot capacity that survives production.
KEDA vs HPA explained for production: scale to zero, queue and Kafka triggers, cold starts, costs, and when plain HPA on CPU is the right Kubernetes choice.
PodDisruptionBudget deadlocks: fix stuck node drains, 429 eviction refusals, minAvailable traps and disruptionsAllowed 0 with safe kubectl checks.
In-place pod resize in Kubernetes: change CPU and memory without recreating pods using the resize subresource, resizePolicy, and VPA InPlaceOrRecreate.
Kubernetes requests vs limits in production: set CPU and memory right with cgroup mechanics, QoS rules, PromQL sizing, and runtime tuning that stops throttling.
Kubernetes cost per namespace with OpenCost: allocation API queries, idle and shared cost policy, labels, showback to chargeback, and bill checks.
RBAC least privilege, Pod Security Standards, ConfigMaps and Secrets, External Secrets Operator, admission policy engines, and software supply-chain security.
Kubernetes ConfigMaps and Secrets explained: env vars, envFrom, volume mounts, subPath traps, encryption at rest, external stores, and safe rotation.
External Secrets Operator on Kubernetes syncs Vault and AWS Secrets Manager values into native Secrets with scoped auth, refresh controls, and safer rotation.
Learn Kubernetes RBAC with Roles, ClusterRoles, bindings and ServiceAccounts, plus least-privilege design, escalation risks and kubectl auth can-i audits.
Kubernetes SecurityContext and Pod Security Standards explained: runAsNonRoot, dropped capabilities, seccomp, and labels that pass the restricted profile.
Production Kubernetes best practices: resource sizing (requests and limits), startup/liveness/readiness probes, PodDisruptionBudgets, topology spread, zero-downtime termination, and security profiles.
Kyverno vs Gatekeeper vs ValidatingAdmissionPolicy compared: CEL, Rego, mutation, audit, failure policy and rollout choices for Kubernetes admission control.
Kubernetes supply chain security with SBOM, Cosign and SLSA: sign by digest, verify identity at admission, and answer CVE impact from attested inventories.
Kubernetes NetworkPolicy troubleshooting: fix default-deny DNS breaks, selector mismatches, ipBlock egress and CNI enforcement gaps with kubectl checks.
EKS Pod Identity vs IRSA: compare OIDC and agent credential flows, IAM trust, migration steps, and AccessDenied fixes to choose the right EKS identity model.
Fix Kubernetes admission webhook failures fast: failed calling webhook, timeouts, x509 errors, failurePolicy, caBundle and safe recovery steps.
cert-manager troubleshooting for Kubernetes: fix Certificate READY False, ACME HTTP-01 and DNS-01 challenges, issuer errors and renewal failures.
Kubernetes secrets rotation without downtime: propagation timing, External Secrets, Reloader rolling restarts, dual credentials, and rollback checks.
Falco vs Tetragon for Kubernetes runtime security: detection vs in-kernel eBPF enforcement, TracingPolicy, rules tuning, overhead, and safe rollout.
Prometheus metrics, PromQL Kubernetes alerts, Grafana dashboards, Loki logs, and OpenTelemetry distributed tracing instrumentation.
Build a Kubernetes observability stack with Prometheus, Grafana, Loki and OpenTelemetry: metrics, logs, traces, alerts, retention and cost controls.
PromQL for Kubernetes SREs: throttling ratios, memory working set alerts, restart counts, recording rules and alert durations that hold up on call.
An enterprise platform engineering guide to Grafana v11+ observability architecture: RED/USE dashboard engineering, high-cardinality PromQL, Dashboard-as-Code, Unified Alerting, and multi-tenant RBAC.
An architectural comparison of OpenTelemetry vs Prometheus: push vs pull telemetry, OTLP collectors, TSDB storage, PromQL, and modern hybrid pipeline patterns.
Production guide to OpenTelemetry distributed tracing: Collector Agent vs Gateway architecture, tail-based sampling, W3C context propagation, and SRE triage runbooks.
Kubernetes API server etcd latency troubleshooting: separate WAL fsync stalls, quota pressure, watch load and webhook delays with metrics that name the layer.
Kubernetes chaos engineering with LitmusChaos and Chaos Mesh: steady-state hypotheses, blast radius, abort rules, pod and network faults, and game days.
SLOs for Kubernetes platforms explained: API server, ingress and DNS SLIs, burn-rate alerts and error-budget policy that keeps releases moving safely.
GitOps reconciliation workflows, Argo CD vs Flux comparisons, Helm and Kustomize packaging, progressive canary delivery, and zero-502 graceful rollouts.
Kubernetes deployment strategies compared: rolling, blue/green and canary releases with maxSurge tuning, traffic weights, rollback paths and database safety.
Comprehensive deployment reliability guide: blue-green cutover, canary analysis with Argo Rollouts and Flagger, automated rollback triggers, and traffic routing.
GitOps best practices for production: OpenGitOps principles, drift control, Argo CD and Flux patterns, secrets, and safe git revert rollbacks.
Argo CD vs Flux: an in-depth enterprise GitOps comparison. Evaluate centralized API architecture vs modular controller design, multi-tenancy, secrets management, progressive delivery, and performance.
Helm and Kustomize in GitOps pipelines: package vendor charts, patch your own services, render in CI, and reconcile with Argo CD or Flux without drift.
Zero-502 Kubernetes rollouts without dropped requests: readiness gates, preStop drain, maxUnavailable, PDBs and EndpointSlice timing that stop 502 spikes.
Argo Rollouts vs Flagger for Kubernetes progressive delivery: Rollout CRD vs Canary CRD, traffic shifting, metric analysis, rollback, and migration cost.
kubeadm cluster lifecycle management, safe node drain and version upgrade checklists, and verified etcd snapshot backup and restore procedures.
Learn kubeadm cluster administration: join nodes, drain safely, upgrade one minor version at a time, renew certificates and recover failed nodes.
Learn etcd backup and restore for Kubernetes disaster recovery: take snapshots, store them off-cluster, restore into a new data dir and rehearse recovery.
Kubernetes 1.37 upgrade checklist for production: version skew, deprecated APIs, etcd backup, kubeadm steps, add-on checks and rollback planning.
Velero backup and restore for Kubernetes: fix unavailable storage locations, partial restores, CSI and file system backup failures, and prove recovery.
Kubernetes release notes explained for platform teams: spot deprecations, removals and action-required changes before an upgrade breaks production workloads.
Custom Resource Definitions, Kubernetes Operators, Karpenter Spot/GPU NodePools, and EKS vs GKE vs AKS multi-cloud control-plane comparisons.
EKS vs GKE vs AKS for production teams: upgrades, networking, identity, autoscaling and cost shape compared so you can choose managed Kubernetes with evidence.
Karpenter NodePool patterns for production: Spot diversity, consolidation policies, disruption budgets, expireAfter rotation, pool limits and rollout checks.
Learn Kubernetes CRDs and operators: design a safe custom API, write the reconciliation loop, scope RBAC, version schemas and test upgrades before production.
Kubernetes multi-tenancy with namespaces vs vCluster: what each boundary isolates, CRD and kernel limits, quotas, NetworkPolicy, and a production checklist.
Backstage Crossplane golden paths for Kubernetes platforms: claim APIs, Compositions, templates, guardrails, and troubleshooting for developer platforms.
GPU scheduling on Kubernetes with DRA, MIG, and Kueue: device plugins, sharing modes, gang scheduling, quotas, autoscaling, and troubleshooting in production.
Kueue vs Volcano for batch and AI workloads on Kubernetes: gang scheduling, quotas, fairness, GPU sharing, operations, and a migration decision matrix.
Large Kubernetes clusters need API Priority and Fairness tuned with evidence: FlowSchemas, priority levels, watch load, scheduler throughput and etcd headroom.
Kubernetes on bare metal with Talos, Cilium BGP and MetalLB: node design, ECMP routing, storage choices and troubleshooting for production clusters.
Windows nodes on Kubernetes explained: HostProcess, image OS matching, scheduling, networking limits and fixes for mixed-OS clusters in production.
Scenario-driven CKA, CKAD, CKS, and senior platform engineering Kubernetes drills alongside tagged concept pillars.
Kubernetes interview troubleshooting drills: timed CrashLoopBackOff, Pending, DNS and OOMKilled scenarios with kubectl paths, spoken answers and scoring.
CKA practice tasks: 20 original timed scenarios with verification commands and traps for RBAC, scheduling, storage, networking, and troubleshooting.
CKAD practice tasks: 20 original timed scenarios for multi-container pods, probes, ConfigMaps, Services, Jobs, Helm and debugging with verification commands.
CKS practice tasks: 20 original timed security scenarios with verification commands, time budgets and common traps for cluster hardening practice.
kubectl power workflows, multi-node Kind local lab topologies, Linux namespaces/cgroups/runc internals, and Docker multi-stage container architecture.
Kubernetes container internals explained: namespaces, cgroups v2, runc, containerd and the pause sandbox, with node commands SREs can run during incidents.
Build a kind local Kubernetes cluster with one control plane and two workers, load local images, expose services and test scheduling without cloud spend.
The complete kubectl master guide every DevOps engineer should know, covering cluster contexts, node draining, pod debugging, ephemeral containers, Server-Side Apply, rollouts, RBAC auditing, and JSONPath formatting.
A deep platform engineering guide to Docker container architecture: Linux namespaces, cgroups v2, OCI runtimes, multi-stage Dockerfile optimization, rootless security, and bridge networking.
k9s stern popeye kubectl plugins workflow for on-call SREs: triage pods fast, tail logs live, audit clusters and cut MTTR with a proven terminal playbook.
Tilt vs Skaffold vs Telepresence compared for Kubernetes local development: inner-loop models, file sync, intercepts, setup, safety, and when to pick each tool.
k3s vs kind vs minikube vs k0s compared for local dev, CI and edge: runtime, datastore, networking, storage and upgrade tradeoffs explained.
Start with the platform decision, core concepts and a local multi-node lab. Then learn workloads, networking, config, resources, scheduling, storage, security, observability, autoscaling, GitOps and incident triage in that order.
Read one module at a time and run the commands in a local lab. Busy engineers can cover the fast path first, then return to deeper modules when a production problem needs them.
Learn containers first at a basic level, then Kubernetes. The roadmap includes container internals and Kubernetes vs Docker so the runtime model is clear before production topics.
Both. Beginners should follow Modules 1-5 in order. SREs and platform engineers can jump to networking, resources, scheduling, observability, autoscaling and incident triage.
Requests and limits, networking, storage, RBAC, observability, autoscaling, GitOps rollbacks and troubleshooting runbooks matter most once real traffic arrives.
Yes. Module 2 compares EKS, GKE and AKS for production teams, then uses a local kind lab for hands-on practice without cloud spend.
The Learning Path presents the completed 46-lesson sequence across 13 curriculum modules in study order, while the Resource Library groups all published Kubernetes lessons, troubleshooting playbooks, observability guides, and upcoming P0 topics into 12 operational categories for fast lookup.
Every Kubernetes guide is registered with one primary category, cross-cutting tags, track, difficulty, and search intent in the unified Kubernetes resources registry. As soon as an article passes quality gates and publishes, the hub generator adds its linked card automatically under that category.
Supporting container and cloud-native observability guides such as container networking troubleshooting, Docker container architecture, Grafana dashboards, OpenTelemetry vs Prometheus, and distributed tracing live in the Resource Library alongside the 46 roadmap lessons without altering roadmap completion counts.
Begin with Module 1 (Why Use Kubernetes and When Not To: A Production Decision Guide) and work forward in order. All roadmap lessons are currently live.