loadtester.py¶
Script to manage the load tester
usage: loadtester.py [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
[--logformat LOGFORMAT] [-c CLUSTER_ID]
{build,load,build-cloud,stop,start,prepare,monitor,unload,upload-images,env}
...
Positional Arguments¶
command | Possible choices: build, load, build-cloud, stop, start, prepare, monitor, unload, upload-images, env |
Named Arguments¶
--loglevel | Possible choices: DEBUG, INFO, WARNING, ERROR Set the script log level |
--logformat | Set the script log format |
-c, --cluster_id | |
The cluster id. Default local |
Sub-commands:¶
start¶
run the load test
loadtester.py start [-h] target
Positional Arguments¶
target | The target cluster name |
monitor¶
Show the health check of all leaves running in the cluster
loadtester.py monitor [-h] target
Positional Arguments¶
target | The target cluster name |
upload-images¶
Upload tutorial images to the cloud
loadtester.py upload-images [-h] [-b BUCKET] [-p PATH] [-u]
Named Arguments¶
-b, --bucket | Name of the bucket to use. Default is a combination of AWS account, bastion and cluster ids. |
-p, --path | The path in the bucket (default: “/images/loadtester”). Default: “/images/loadtester” |
-u, --update-config | |
Upload configuration in the current cluster. Default: False |