How mmumshad/kubernetes-the-hard-way works
Kubernetes The Hard Way is a learning tutorial for manually building a local, highly available Kubernetes cluster. Its principal workflow takes the learner from hypervisor setup through cluster bootstrap, worker configuration, networking, and validation. The numbered guide chapters document that progression; separate platform directories provide VirtualBox/Vagrant or Apple Silicon setup, and tools and deployment manifests support selected lab tasks. The graph reflects the README and repository paths; source excerpts are limited, so implementation-level calls between tutorial steps are not asserted.
Main entry points: 15-dns-addon.md DNS add-on · docs/01-prerequisites.md VirtualBox setup · docs/01-prerequisites.md Apple Silicon setup · Vagrantfile Vagrant environment
Components 25
Local platforms
- VirtualBox setup
VirtualBox/docs/01-prerequisites.md - Apple Silicon setup
apple-silicon/docs/01-prerequisites.md - Vagrant environment
vagrant/Vagrantfile - Multipass deployment
apple-silicon/deploy-virtual-machines.sh - Compute resources
Cluster bootstrap
- Client tools
docs/03-client-tools.md - Certificate authority
docs/04-certificate-authority.md - Kubernetes configuration
docs/05-kubernetes-configuration-files.md - Data encryption
docs/06-data-encryption-keys.md - etcd bootstrap
docs/07-bootstrapping-etcd.md - Control plane bootstrap
docs/08-bootstrapping-kubernetes-controllers.md - Worker runtime
docs/09-install-cri-workers.md - Worker bootstrap
docs/10-bootstrapping-kubernetes-workers.md - TLS worker bootstrap
docs/11-tls-bootstrapping-kubernetes-workers.md
Cluster operations
- kubectl access
docs/12-configuring-kubectl.md - Pod networking
docs/13-configure-pod-networking.md - API to kubelet
docs/14-kube-apiserver-to-kubelet.md - DNS add-on
docs/15-dns-addon.md - CoreDNS manifest
deployments/coredns.yaml - Smoke test
docs/16-smoke-test.md - End-to-end tests
docs/17-e2e-tests.md
Lab support
- Certificate checker
tools/kubernetes-certs-checker.xlsx - Approve CSR tool
tools/approve-csr.sh - Certificate verification
apple-silicon/scripts/cert_verify.sh
Other components
- Learner
Connections 26
- Learner → VirtualBox setup: follows option
- Learner → Apple Silicon setup: follows option
- VirtualBox setup → Vagrant environment: sets up
- Apple Silicon setup → Multipass deployment: sets up
- Vagrant environment → Compute resources: provides VMs
- Multipass deployment → Compute resources: provides VMs
- Learner → Compute resources: follows guide
- Compute resources → Client tools: continues to
- Client tools → Certificate authority: continues to
- Certificate authority → Kubernetes configuration: continues to
- Kubernetes configuration → Data encryption: continues to
- Data encryption → etcd bootstrap: continues to
- etcd bootstrap → Control plane bootstrap: continues to
- Control plane bootstrap → Worker runtime: continues to
- Worker runtime → Worker bootstrap: continues to
- Worker bootstrap → TLS worker bootstrap: continues to
- TLS worker bootstrap → kubectl access: continues to
- kubectl access → Pod networking: continues to
- Pod networking → API to kubelet: continues to
- API to kubelet → DNS add-on: continues to
- DNS add-on → CoreDNS manifest: uses manifest
- DNS add-on → Smoke test: continues to
- Smoke test → End-to-end tests: continues to
- Learner → Certificate checker: checks certificates
- Learner → Approve CSR tool: uses for CSRs
- Learner → Certificate verification: verifies certificates