Vegeta Docker on Debian
Docker image for the Vegeta HTTP load testing tool forked from peter-evans/vegeta to give us extra Debian based debug tools.
Dockerfile
links
Supported tags and respective v1.1
,latest
,v1.1-vegeta12.8.4-bullseye-slim
, (v1.1/Dockerfile)v1.0
,v1.0-vegeta12.8.4-bullseye-slim
, (v1.0/Dockerfile)
Usage
To display help:
docker run --rm -i jujhars13/vegeta
Example:
docker run --rm -i jujhars13/vegeta \
/bin/bash -c \
"echo 'GET http://www.example.com' | \
vegeta attack -rate=10 -duration=30s | \
tee results.bin | \
vegeta report"
For full documentation see Vegeta.
Usage in Kubernetes
To display help:
kubectl run vegeta --rm --attach --restart=Never --image="jujhars13/vegeta"
Example:
kubectl run vegeta --rm --attach --restart=Never --image="jujhars13/vegeta" -- sh -c \
"echo 'GET http://<svc-name>' | \
vegeta attack -rate=10 -duration=30s | \
tee results.bin | \
vegeta report"
History
- 2022-02-14
v1.1
version bump to pull in latest security updates to Debian 11 Bullseye
License
MIT License - see the LICENSE file for details