litmuschaos / litmus-go

Apache License 2.0
66 stars 118 forks source link

Use "ip netns exec" instead of "nsenter" to handle pod restart in network-chaos #702

Open Calvinaud opened 3 months ago

Calvinaud commented 3 months ago

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: