Rodin 6fb1fcdebd fix: update drifted line citations in patterns.md
Two citations were out of bounds against kubernetes/kubernetes HEAD:

- delta_fifo.go:797-801 → 797-800 (DeletedFinalStateUnknown struct ends
  at line 800; file has 800 lines total, off-by-one)

- kube_features.go:2798-2811 → 2771-2784 (init() function moved up ~27
  lines; file now has 2784 lines, old citation was past EOF)

Audited all 30 citations (28 OK, 2 fixed, 0 flagged for review).
2026-05-06 17:17:03 -07:00
2026-04-30 14:06:51 +00:00
2026-04-30 14:06:51 +00:00
2026-04-30 12:10:21 +00:00

Kubernetes Patterns

Production-scale Go patterns extracted from the Kubernetes source code with verified file:line citations.

Structure

  • patterns/ — Kubernetes-specific patterns (controller, reconciler, informer, workqueue, scheme)
  • comparison/ — Go stdlib vs Kubernetes approaches
  • smells/ — Anti-patterns at scale
  • changelog/ — Daily digest of merged Kubernetes PRs

Philosophy

These rules are derived from what the Kubernetes source code actually does, not opinions or blog posts. Every pattern cites specific files and line numbers.

Kubernetes shows what idiomatic Go looks like at scale — patterns that emerge only when a project hits millions of lines.

S
Description
Architectural conventions extracted from Kubernetes
Readme MIT 74 KiB
Languages
Markdown 100%