Skip to content

docs(cni): Add ADD/DEL and GC sequence diagrams - #395

Open
privateip wants to merge 2 commits into
mainfrom
docs/cni-gc-sequence-diagrams
Open

docs(cni): Add ADD/DEL and GC sequence diagrams#395
privateip wants to merge 2 commits into
mainfrom
docs/cni-gc-sequence-diagrams

Conversation

@privateip

Copy link
Copy Markdown
Contributor

Summary

CNI ADD/DEL behavior and garbage collection had no sequence diagrams, so understanding the attach chain or the orphan-cleanup sweeps meant reading source across five binaries. This adds a unified ADD diagram, a unified DEL diagram, and a new GC diagram covering both the CRD/VRF sweep and the eBPF table sweep, each with prose notes explaining the non-obvious behavior. The CNI diagram doc also moves next to the CNI configuration reference so the two live together.

Test plan

  • Diagrams render correctly on GitHub and Obsidian
  • All cross-doc links resolve after the move

privateip and others added 2 commits August 14, 2026 12:49
CNI ADD/DEL behavior and garbage collection had no sequence diagrams,
so understanding the attach chain or the orphan-cleanup sweeps meant
reading source across five binaries. Add a unified ADD diagram, a
unified DEL diagram, and a new GC diagram covering both the CRD/VRF
sweep and the eBPF table sweep, each with prose notes explaining the
non-obvious behavior. Move the CNI diagram doc next to the CNI
configuration reference so the two live together.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Two recent fixes changed CNI DEL and BGP publish behavior: DEL now
deletes the host veth/tap interface directly instead of deferring it
to GC, and galactic-bgp now prunes dead sibling annotations and
dedupes advertised prefixes on every ADD. Update the ADD/DEL and GC
sequence diagrams and their notes to match, including a correction
that GC's kernel sweep never covered the host interface in the first
place.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@privateip
privateip force-pushed the docs/cni-gc-sequence-diagrams branch from 9362dde to fcf2691 Compare August 14, 2026 16:56
@privateip
privateip marked this pull request as ready for review August 14, 2026 16:58
@privateip
privateip requested a review from a team as a code owner August 14, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant