Last active
July 23, 2021 10:06
-
-
Save luizfnunesmarques/83085de2d0f618a1797e8da438a39ecc to your computer and use it in GitHub Desktop.
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
# I wanted to generate 100 replicasets to check and overload etcd | |
# the manifest is a deployment with a template variable that apply a change worth a new rs (e.g. a image tag) | |
for I in $(seq 30 70); do export I && envsubst '$I' < <manifest.yml> | kubectl apply -f - && sleep 10; done; | |
# bombard an api with curl. Requires seq and gnu-parallel | |
seq 1000 | parallel -n0 "<request>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment