~/talk

Intro: CLI SIG

Talkat KubeCon + CloudNativeCon Europe 2019 · on Tuesday, 2019-05-21· at 14:00· Hall 8.0 E1· [developer-experience]
links:none on file
slides:none on file

Overview of kubectl internals and how to contribute: entry point lives in kubernetes/cmd/kubectl, commands live under pkg/kubectl/cmd, and the code follows a Cobra-based command pattern with per-command option structs and a complete/validate/run lifecycle so unit tests can inject IO streams. Covers CLI runtime helpers (print flags, resource builder), krew and plugin flow, server-side work like server-side printing and alpha server-side apply, test layers (unit, bash test-cmd, and Ginkgo e2e) with most tests running on every PR.

AI-written summary · about

  1. 0:00Intro
  2. 1:03What we do
  3. 2:38Structure
  4. 3:37Initiatives
  5. 6:57Announcements
  6. 10:15Keep Commands
  7. 12:01Command Directory
  8. 13:02Get
  9. 15:10Option Structures
  10. 18:24New Command
  11. 20:30Validate
  12. 23:57Unit tests
  13. 26:05Help us improve
  14. 26:25Test framework
  15. 28:07Invoked tests
  16. 29:23Running unit tests
  17. 29:52Naming tests
  18. 30:14Setting up tests
  19. 31:14Running particular tests
  20. 31:41E2E test
  21. 32:06Scaling commands
~/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.