Reading production code is the fastest way past the tutorial plateau. Each entry includes a concrete place to start rather than “browse the repo”.
The project itself. Enormous, but the controller implementations are surprisingly readable and are the definitive answer to “what does this actually do?”.
Start with: pkg/controller/deployment — the rollout logic described in every tutorial, in code.
The framework and book for building your own controllers. Writing one operator teaches more about how Kubernetes works than months of using it.
Start with: The Kubebuilder Book’s CronJob tutorial, start to finish.
The reference OCI runtime. Small enough to read end to end, and it is where containers are literally created.
Start with: libcontainer/ — the namespace and cgroup setup, and nsexec.c for the clone dance.
A CNCF graduated runtime with a genuinely clean plugin architecture. A good model for how to structure a large Go daemon.
Start with: docs/ then the CRI plugin under internal/cri.
Shows how rendering, release storage, and the three-way merge upgrade strategy actually work — which explains most surprising Helm behaviour.
Start with: pkg/action/upgrade.go
An exemplary Go codebase. The TSDB implementation is a genuinely good storage-engine tutorial in its own right.
Start with: tsdb/docs/format/ — the on-disk format, documented properly.
Networking, observability, and security implemented with eBPF instead of iptables. The best entry point into kernel-level networking.
Start with: Documentation/ then bpf/ for the datapath programs.
Not code, but the easiest place to make a first meaningful open source contribution — and reviewers are patient with newcomers.
Start with: The “good first issue” label on the issue tracker.