Skip to content

feat: Add fabric-router image and production deployment - #269

Merged
privateip merged 2 commits into
mainfrom
feat/fabric-router
Jul 30, 2026
Merged

feat: Add fabric-router image and production deployment#269
privateip merged 2 commits into
mainfrom
feat/fabric-router

Conversation

@privateip

Copy link
Copy Markdown
Contributor

Summary

galactic-router needs a working underlay eBGP session before it can start, but there was no container image or Kustomize manifest for that FRR-based fabric role — the only thing running it was the containerlab lab's own raw manifests, hand-copied per site.

This adds containers/fabric-router/Dockerfile (upstream FRR plus tcpdump, mtr, telnet, dig, curl for troubleshooting, and the two static FRR config files baked in since they never vary by site) and a new config/fabric/ production Kustomize component: a single flat DaemonSet scheduled on nodes labeled galactic.datumapis.com/node=edge or =control. Unlike every other config/ component, it has no generic frr.conf default — BGP peering is site-specific — so it's intentionally left out of the root config/kustomization.yaml and must be applied separately once the deployer supplies a fabric-config ConfigMap.

The containerlab lab's fabric resources are converted from raw manifests and per-site node-affinity patches into kustomize overlays that build on config/fabric/, patching in only the lab-local image override and (for iad, which needs two differently-configured fabric pods on one cluster) a narrower per-role affinity plus a renamed DaemonSet.

Test plan

  • kubectl kustomize validated for config/fabric and all four lab overlays (dfw, iad, sjc, iad-control), confirming correct image, affinity, and ConfigMap wiring
  • Full task deploy / task test run against the containerlab lab (not run in this environment — no Docker available)

Add a fabric-router container image (FRR plus tcpdump, mtr, telnet,
dig, and curl for troubleshooting) and wire it into the containerlab
lab and the CI publish workflow.

Introduce config/fabric/ as a production Kustomize component for the
underlay eBGP DaemonSet that galactic-router depends on. It is a
single flat DaemonSet scheduled on nodes labeled
galactic.datumapis.com/node=edge or =control; unlike every other
config/ component it has no generic frr.conf default (BGP peering is
site-specific), so it is not part of the root config/kustomization.yaml
and must be applied separately once the deployer supplies a
fabric-config ConfigMap.

Convert the containerlab lab's fabric resources from raw manifests
and per-site node-affinity patches to kustomize overlays that build on
config/fabric/, patching in only the lab-local image override and,
for iad (which needs two differently-configured fabric pods on one
cluster), a narrower per-role affinity plus a renamed DaemonSet.

Bake the two static FRR config files (daemons, vtysh.conf) into the
image instead of shipping them through ConfigMaps, since they never
vary by site.
@privateip
privateip requested a review from a team as a code owner July 30, 2026 18:43
@privateip
privateip requested a review from mksinghtx July 30, 2026 18:43
quay.io/frrouting/frr:10.2.0 is Alpine-based, not Debian-based, so
apt-get isn't available and the image build was failing. Switches to
apk with the Alpine equivalents (mtr, busybox-extras for telnet,
bind-tools for dnsutils).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@privateip
privateip merged commit df546ec into main Jul 30, 2026
9 checks passed
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