Where this fits: it picks up where step 1 of the series, Operating Systems, Linux & Containers, leaves off. Its Phase 3 builds containers from namespaces and cgroups and introduces Kubernetes; this guide takes the same ideas to production.
Read alongside: Go (every service here is Go) · Security Engineering in Depth (cloud and Kubernetes security, beyond Part VI) · Scale, Load & Performance Testing (the load-testing theory behind §27.7).
Day by day: the 90-day DevOps plan schedules this guide's labs week by week.
☸️
Docker & Kubernetes — The Real-Life Field Guide (Beginner → Production)
A hands-on, example-driven path from "what is a container" to running a production-grade, auto-scaling, self-healing, fully observable cloud system on Kubernetes.
Contents
52 chapters, one page each. Prefer one long page? Read the whole book on one page.
- How to use this guide2 min
- The system we build: "Orbit"2 min
- Prerequisites and tooling1 min
- Table of contents1 min
- Part 0 — The Lab Environment
- 0. Lab environment: a Linux VM on your Mac12 min
- Part I — Containers & Docker
- 1. What a container actually is3 min
- 2. Docker architecture and core CLI2 min
- 3. Images and Dockerfiles from first principles3 min
- 4. Production-grade Dockerfiles7 min
- 5. Docker networking1 min
- 6. Docker storage: volumes, bind mounts, tmpfs1 min
- 7. Docker Compose: the whole system on your laptop3 min
- 8. Docker security and the software supply chain2 min
- 9. Debugging containers2 min
- 10. Registries, tagging, and multi-arch builds1 min
- 11. Part I capstone: Orbit under Compose, fully working5 min
- Part II — Kubernetes Core
- 12. Kubernetes architecture: the control loop4 min
- 13. Pods: the unit of everything4 min
- 14. Deployments, ReplicaSets, and rollouts2 min
- 15. Services, DNS, and the networking model2 min
- 16. Configuration: ConfigMaps, Secrets, and the Downward API2 min
- 17. Storage: Volumes, PVs, PVCs, StorageClasses1 min
- 18. StatefulSets, DaemonSets, Jobs, and CronJobs3 min
- 19. Namespaces, labels, and organizing a cluster1 min
- 20. Part II capstone: Orbit from raw manifests2 min
- Part III — Production Workloads
- 21. Health checks: probes done right2 min
- 22. Self-healing and auto-recovery3 min
- 23. Resources, QoS, and right-sizing3 min
- 24. Scheduling: placement for resilience3 min
- 25. Traffic in: Gateway API, TLS, and cert-manager3 min
- 26. Packaging: Kustomize and Helm2 min
- 27. Autoscaling: pods, sizes, and nodes6 min
- Part IV — Observability
- 28. Observability strategy2 min
- 29. Instrumenting Orbit with OpenTelemetry5 min
- 30. Deploying the observability stack7 min
- 31. Metrics, dashboards, and alerting4 min
- 32. SLOs and burn-rate alerting2 min
- Part V — Debugging
- 33. The Kubernetes debugging playbook6 min
- Part VI — Security
- 34. Securing the cluster and the workloads7 min
- Part VII — Delivery
- 35. CI: build, test, scan, sign, publish3 min
- 36. GitOps with Argo CD3 min
- 37. Progressive delivery: canary with automatic rollback3 min
- 38. Database migrations in a continuously deployed system2 min
- Part VIII — Reliability Operations
- 39. Backup and disaster recovery4 min
- 40. Chaos engineering2 min
- 41. Cost and capacity1 min
- 42. Going to the cloud: Orbit on EKS4 min
- Part IX — Capstone and Reference
- 43. Capstone: assemble and verify the whole system3 min
- 44. Production-readiness checklist1 min
- 45. Cheat sheets1 min
- 46. Pitfalls that cause real outages1 min
- 47. Further reading: the real-life references2 min
Generated from real-life-k8s-guide.md · 8 Oct 2026 16:36