~/lightning

Lightning Talk: Paying Down Debt: Converting Kubernetes To Use Go "Workspaces"

Lightningat KubeCon + CloudNativeCon North America 2022 · on Tuesday, 2022-10-25· at 17:40· Grand Riverview Ballroom AB· [go, kubernetes]
github:thockin
slides:none on file

Kubernetes replaces its decades-old GOPATH hacks with Go 1.18 workspaces by adding a go.work file, enabling multi-module builds and unifying 30 scattered go.mod files. The project rewrites its generator toolkit gengo and the modules-aware packages API to handle 13 codegen tools and about 33,000 lines of generated code. Conversions introduce 10–40x slowdowns in tooling, currently tracked across ~88 commits, with goal of landing the cleanup by Kubernetes 1.27.

AI-written summary · about

  1. 0:00Kubernetes Code Base
  2. 1:13Dependency Graph
  3. 1:45Staging
  4. 2:16Code Generation
  5. 3:10Go Modules
  6. 3:30Go workspaces
  7. 3:45Go workspaces in practice
  8. 4:02Cleaning the house
  9. 4:22Hacking Go
  10. 4:40Step 3 Convert Code Generation Tools
  11. 4:53Step 4 What Happened
  12. 5:08Step 5 purge
  13. 5:20Step 6 cleanup
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.