-
Notifications
You must be signed in to change notification settings - Fork 164
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
Affect network traffic after startup #333
Comments
The simple sidecar vs init container forces the user to do a lot of the heavy-lifting. Exposing a wait interface with a delay could be beneficial. This would look something like
For a real use case, this container should probably have some kind of regarding the user side heavy lifting there are some unanswered questions on the best way to deal with the sidecar chaos injectors. Without a properly crafted command to stay up and awake, they will finish and reboot loop. This means either the command must be idempotent or the container must essentially hang itself while staying alive for probes. |
Currently the network tc-clone only allows an init container that will setup an affected environment. If we want to simulate a case where an application can execute startup connections but then get delayed queries (i.e. after establishing a database connection or receiving leader election results) this is not possible. This is easily possible by adding a sidecar container (this may break some automation in large scale production environments). However, a more complicated approach such as dynamically updating network attacks (delay for one minute then fully drop traffic) requires a more dynamic approach. It seems like kubernetes jobs is not able to do this and creating a listening server for commands is overkill.
The text was updated successfully, but these errors were encountered: