-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
curl -L https://github.com/alexei-led/pumba/releases/download/0.10.1/pumba_linux_amd64 -o /tmp/pumba | ||
chmod +x /tmp/pumba | ||
|
||
|
||
timeout -k 5 3m /tmp/pumba --random --interval 30s \ | ||
restart --timeout 30s \ | ||
re2:^ydb-dynamic & | ||
|
||
# sudo tc qdisc add dev lo root netem delay 100ms | ||
# sudo tc qdisc change dev lo root netem loss 10% | ||
# sleep 60s | ||
|
||
/tmp/pumba --random \ | ||
netem --duration 1m --interface lo --tc-image gaiadocker/iproute2 \ | ||
delay --time 90 --jitter 30 --correlation 20 \ | ||
re2:^ydb | ||
|
||
/tmp/pumba --random \ | ||
netem --duration 1m --interface lo --tc-image gaiadocker/iproute2 \ | ||
loss --percent 5 \ | ||
re2:^ydb | ||
|
||
/tmp/pumba --random \ | ||
netem --duration 1m --interface lo --tc-image gaiadocker/iproute2 \ | ||
corrupt --percent 5 \ | ||
re2:^ydb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters