Skip to content

Set up default route for management network for Juniper and Cisco - #740

Open
kraney wants to merge 8 commits into
mainfrom
juniper-cisco-defaultroute
Open

Set up default route for management network for Juniper and Cisco#740
kraney wants to merge 8 commits into
mainfrom
juniper-cisco-defaultroute

Conversation

@kraney

@kraney kraney commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Both Juniper and Cisco ignore the K8s-configured settings on eth0 in their container. They set up everything from their own static config, but that makes the management interface unreachable in a multi-node cluster. Setting up the correct routing for the management interface is difficult in a static config since it's different depending on which node the pod has been assigned to at runtime.

This change has KNE update the routing config for the container at runtime to put back the routing set by Kubernetes.

@kraney
kraney force-pushed the juniper-cisco-defaultroute branch 3 times, most recently from 32d8cb5 to fc13495 Compare August 14, 2026 18:19
Comment thread topo/node/juniper/juniper.go
kraney added 2 commits August 14, 2026 23:50
Have the init container write default route to starting config

Juniper and Cisco both ignore the route on eth0 and start from
scratch. This uses the initContainer to pick up the route and
patch it into the starting config for those types.
@kraney
kraney force-pushed the juniper-cisco-defaultroute branch from fc13495 to b553438 Compare August 15, 2026 00:00
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