Skip to content

feat: Add galactic-debug image for kubectl debug troubleshooting - #611

Merged
privateip merged 1 commit into
mainfrom
feat/galactic-debug-image
Sep 25, 2026
Merged

privateip merged 1 commit into
mainfrom
feat/galactic-debug-image

Conversation

@privateip

Copy link
Copy Markdown
Collaborator

Summary

Two production incidents needed live eBPF map dumps and direct FRR/GoBGP queries, and nothing in the stack's existing tooling could do either.

One of them was only worked around with a privileged debug pod just to find a process id for nsenter.

This adds a purpose-built debug image, published like every other component image in this repo, and wires it into the lab environment so it gets exercised before an incident ever needs it.

Test plan

  • Attaching a debug session to a running pod exposes its process namespace, so eBPF maps and GoBGP/FRR state can be queried directly
  • The containerlab tenant pods start successfully on the new image

🤖 Generated with Claude Code

Two production incidents needed live eBPF map dumps and direct
FRR/GoBGP queries that no image in this stack could provide. One
of them was only worked around with a privileged hostPID pod just
to find a process id for nsenter.

Add containers/galactic-debug, built on nicolaka/netshoot with
bpftool, bpftrace, vtysh, the gobgp CLI, kubectl, crictl, yq, and a
new galactic-usid CLI wrapping the base62/hex uSID codec. Publish it
via the same CI pipeline as every other component image, and swap
it in for nicolaka/netshoot in every containerlab tenant pod so it
gets exercised before an incident ever needs it.

See containers/galactic-debug/README.md for the two kubectl debug
usage modes and the operational caveats carried over from the
incident notes that motivated this image.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@privateip
privateip marked this pull request as ready for review September 25, 2026 17:25
@privateip
privateip requested a review from a team as a code owner September 25, 2026 17:25

@scotwells scotwells left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹

@privateip
privateip merged commit d7ac6f5 into main Sep 25, 2026
14 checks passed
@privateip
privateip deleted the feat/galactic-debug-image branch September 25, 2026 17:32
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.

2 participants