Skip to content

Conversation

@Calvinaud
Copy link
Contributor

@Calvinaud Calvinaud commented May 24, 2024

  • Replacing the nsenter command by ip netns exec
  • Updating helper pod definition to mount the hostPath /var/run/netns
  • Updating Dockerfile to add ip binary to experiments/helper pod.

What this PR does / why we need it:

Updating network-chaos to use the netns instead of the procedure to inject/remove chaos so the network-chaos can handle pod restart.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #591

Special notes for your reviewer:

I think this PR will need "requires-upgrade".

Checklist:

  • Fixes pod-network-loss: cleanup fails because target pod has been restarted #591
  • PR messages has document related information
  • Labelled this PR & related issue with breaking-changes tag
  • PR messages has breaking changes related information
  • Labelled this PR & related issue with requires-upgrade tag
  • PR messages has upgrade related information
  • Commit has unit tests
  • Commit has integration tests
  • E2E run Required for the changes

Replacing the nsenter command by ip netns exec
Updating helper pod definition to mount the hostPath /var/run/netns
Updating Dockerfile to add ip binary to experiments/helper pod.

Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
@Calvinaud Calvinaud marked this pull request as draft August 20, 2025 14:00
@Calvinaud
Copy link
Contributor Author

May not be required as #761 might this the issue this PR was trying to solve

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.

pod-network-loss: cleanup fails because target pod has been restarted

1 participant