Kubernetes the Hard Way Using Terraform
summary
Reproduces Kelsey Hightower’s Kubernetes The Hard Way by encoding each step in Terraform and shell scripts, including CA and TLS generation with CFSSL, kubelet and containerd installs, systemd services for API server/controller/scheduler, and CoreDNS. Terraform provisions networking, a static IP, load balancer, and 3 controllers and 3 workers, runs terraform apply to bootstrap the cluster, verifies pods and component status via kubectl, and supports full teardown with terraform destroy.
AI-written summary · about
chapters (14)
- 0:00Introduction and background
- 1:24What is Kubernetes the Hard Way
- 3:34Terraform motivation and setup
- 7:28Provisioning compute resources
- 11:23Generating TLS certificates
- 13:32Kubernetes config files
- 15:01Bootstrapping etcd cluster
- 16:45Control plane configuration
- 17:50Worker node bootstrap
- 20:43Configuring kubectl access
- 22:32Provisioning network routes
- 23:18Enabling CoreDNS
- 25:33Final smoke test
- 25:54Cleanup with Terraform
related talks
22mIt's Terraform All the Way Down
05mHow Terraform Brought Kubernetes Back From Dead
35mKubernetes journey
32mBuilding Reliability into Kubernetes using Chaos Experiments with Terraform
45mKubernetes Operability Tooling
23mSimplifying Kubernetes deployment with Terraform for OpenAI
27mKubernetes The Fun Way
36mKubernetes the Hard Way, from Scratch!
