Skip to content

Run the broker in the container's network namespace on Linux - #1870

Merged
Sangho Lee (sangho2) merged 1 commit into
uliteboxfrom
sanghle/ulitebox/shim_netns
Nov 13, 2026
Merged

Sangho Lee (sangho2) merged 1 commit into
uliteboxfrom
sanghle/ulitebox/shim_netns

Conversation

@sangho2

@sangho2 Sangho Lee (sangho2) commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR runs the broker in the container's network namespace on Linux. Currently, the containerd-shim ignores a network namespace's path and refuses a new network namespace, so the broker always uses the containerd-shim's network. This PR makes the guardian join the specified namespace or creates a new one before starting the broker, supporting CNI-configured networks.

@sangho2

Sangho Lee (sangho2) commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor Author

This PR assumes that the Linux userland broker will not create/join a host network namespace. If the broker plans to do that, better to expose and use its CLI option instead of relying on the inheritance.

@sangho2
Sangho Lee (sangho2) force-pushed the sanghle/ulitebox/shim_netns branch from 72ddb1f to 3f56676 Compare November 13, 2026 02:06
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@sangho2
Sangho Lee (sangho2) added this pull request to the merge queue Nov 13, 2026
Merged via the queue into ulitebox with commit ca19760 Nov 13, 2026
11 checks passed
@sangho2
Sangho Lee (sangho2) deleted the sanghle/ulitebox/shim_netns branch November 13, 2026 02:33
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