2018-02-06 16:06:20 -05:00
|
|
|
# Load Generation
|
|
|
|
|
|
|
|
This is deliberately not part of docker-compose.yaml to give the option of running the sample application without load.
|
|
|
|
|
|
|
|
$ ./build.sh <push>
|
|
|
|
|
|
|
|
Will build with image and optionally push it.
|
|
|
|
|
|
|
|
$ ./load-gen.sh
|
|
|
|
|
|
|
|
Runs the load generation script against the application started with docker-compose up
|
|
|
|
|
2018-07-12 12:41:50 +02:00
|
|
|
Alternatively, you can run the Container from Dockerhub directly on one of the nodes having access to the web node:
|
|
|
|
|
|
|
|
`docker run -e 'HOST=$webnodeIP:8080' -e 'NUM_CLIENTS=3' -d --rm --name="loadgen" robotshop/rs-load`
|
|
|
|
|
2018-02-06 16:06:20 -05:00
|
|
|
## To Do
|
|
|
|
|
|
|
|
Kubernetes deployment
|