Notes and how-tos for running Kubernetes, mostly from a bare-metal homelab, with managed-cloud options for comparison.
Sections¶
| Section | What's in it |
|---|---|
| Creating Kubernetes clusters | Bare-metal clusters with kubeadm (Alma Linux, Ubuntu + Ansible), plus AKS, EKS, and GKE |
| kubeadm | Day-2 operations on kubeadm clusters: resetting nodes, changing node IP addresses |
| kubectl | Inspecting and debugging workloads, managing multiple kubeconfigs |
| Container runtimes | containerd, CRI-O, runc, and the CRI debugging tools |
| CNI plugins | Pod networking with Calico and Cilium |
| MetalLB | LoadBalancer services on bare metal |
| Kustomize | Bases, overlays, and patches for per-environment manifests |
| vCluster | Virtual clusters running inside a host cluster |
Suggested reading order for a new bare-metal cluster¶
- Container runtimes: install and configure containerd.
- Create a bare-metal cluster:
kubeadm initand join workers. - CNI plugins: install Calico or Cilium so nodes go
Ready. - MetalLB: give
LoadBalancerservices real IPs. - kubectl: inspect and troubleshoot what's running.
Upstream references¶
- https://kubernetes.io/docs/home/
- https://kubernetes.io/releases/