logzio / elasticsearch-stress-test

Stress test tool for Elasticsearch
Apache License 2.0
271 stars 110 forks source link

Add Dockerfile (and some small changes to fix build) #9

Closed jayme-github closed 7 years ago

roiravhon commented 7 years ago

@jayme-github, thanks for that! Looks good.

Tested it?

jayme-github commented 7 years ago

Yes, it's tested and I've set up auto-build here: https://hub.docker.com/r/traumfewo/elasticsearch-stress-test/

Run it like:

docker run --rm -it --link elasticsearch:es-test traumfewo/elasticsearch-stress-test:latest \
    --es_address es-test --indices 10 --documents 10 \
    --clients 1 --seconds 300

# or something like
kubectl run -it --rm es-stress --image=traumfewo/elasticsearch-stress-test:latest --restart Never -- \
    --es_address es-test --indices 10 --documents 10 --clients 1 --seconds 300
roiravhon commented 7 years ago

Thanks!