Docker image for the Vegeta HTTP load testing tool.
To display help:
docker run --rm -i devogopan/vegetaExample:
docker run --rm -i devogopan/vegeta sh -c \
"echo 'GET https://www.example.com' | vegeta attack -rate=10 -duration=30s | tee results.bin | vegeta report"For full documentation see Vegeta.
To display help:
kubectl run vegeta --rm --attach --restart=Never --image="devogopan/vegeta"Example:
kubectl run vegeta --rm --attach --restart=Never --image="devogopan/vegeta" -- sh -c \
"echo 'GET https://www.example.com' | vegeta attack -rate=10 -duration=30s | tee results.bin | vegeta report"# Start vegeta with nohup
echo "Starting load test..."
truncate -s 0 vegeta.out
nohup kubectl run vegeta --rm --stdin --restart=Never --image="devogopan/vegeta:v12.12.0" -- sh -c \
"echo 'GET https://nginx.aegle.info' | vegeta attack -insecure -rate=50 -duration=30s -connect-to=nginx.aegle.info:443:172.18.64.11:443 | tee results.bin | vegeta report " > vegeta.out 2>&1 &
echo "Load test started in background. You can check progress with: tail -f vegeta.out"
cat vegeta.out
MIT License - see the LICENSE file for details