~/talk

kubectl apply, and The Dark Art of Declarative Object Management

links:none on file
slides:none on file

kubectl apply computes a three-way diff (local, live, last-applied-configuration) and stores the last-applied blob as an annotation to decide adds/updates/deletes, using json merge patch or Kubernetes’ strategic-merge-patch with per-field patchMergeKeys. Containers merge by name, tolerations often get replaced, and API defaulting (replicas, updateStrategy) can cause incompatible-update errors unless defaults are explicitly managed. Features covered: apply prune, override/conflict detection, and editing last-applied to recover; recommended: keep replicas out of manifests and use a single source of truth.

AI-written summary · about

  1. 0:00Intro
  2. 0:29Why "the dark art"?
  3. 4:24Example of adding a field
  4. 8:50Let's talk about merge calculations
  5. 14:33Strategic Merge Patch
  6. 22:01Aaron's brief list of recommendations
  7. 23:46Things we didn't get to cover
  8. 26:21Homework...
~/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.