mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 18:48:36 -07:00
test stuff.
This commit is contained in:
parent
29249db5d2
commit
e53ef9642e
9 changed files with 193 additions and 25 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Edit as needed -- note that >1000 per host is likely problematic due to Linux kernel limits
|
||||
NUM_CONTAINERS=100
|
||||
NUM_CONTAINERS=64
|
||||
CONTAINER_IMAGE=zerotier/http-test
|
||||
|
||||
#
|
||||
|
@ -25,6 +25,6 @@ export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
|
|||
# docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE
|
||||
#done
|
||||
|
||||
pssh -o big-test-out -h big-test-hosts -i -p 256 "docker pull $CONTAINER_IMAGE && for ((n=0;n<$NUM_CONTAINERS;n++)); do docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE; done"
|
||||
pssh -o big-test-out -h big-test-hosts -i -t 128 -p 256 "for ((n=0;n<$NUM_CONTAINERS;n++)); do docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE; done"
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue