Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib/k8s: Add 'nsexec' script to run commands in the network namespace of a POD #14361

Merged
merged 1 commit into from
Dec 11, 2020

Conversation

jrajahalme
Copy link
Member

Add script 'nsexec' for running commands in the network namespace of a
k8s POD. This is useful for inspecting and debugging the networking
configuration within a pod, or originating traffic from a POD without
needing to install 'curl' in there, for example.

Currently this relies on Docker being the container runtime.

Signed-off-by: Jarno Rajahalme jarno@covalent.io

…pace of a POD

Add script 'nsexec' for running commands in the network namespace of a
k8s POD. This is useful for inspecting and debugging the networking
configuration within a pod, or originating traffic from a POD without
needing to install 'curl' in there, for example.

Currently this relies on Docker being the container runtime.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
@jrajahalme jrajahalme added area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. release-note/misc This PR makes changes that have no direct user impact. labels Dec 10, 2020
@jrajahalme jrajahalme requested a review from a team as a code owner December 10, 2020 19:32
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Dec 10, 2020
@jrajahalme
Copy link
Member Author

This is a new script not being used by default, so running the CI is not necessary.

@jrajahalme jrajahalme merged commit 59904ca into master Dec 11, 2020
@jrajahalme jrajahalme deleted the pr/jrajahalme/nsexec branch December 11, 2020 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants