loadtester.py¶
Script to manage the load tester
usage: loadtester.py [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
[--logformat LOGFORMAT] [-c CLUSTER_ID]
{env,build,build-cloud,load,prepare,set-allocation-count,unload,upload-images}
...
Positional Arguments¶
command | Possible choices: env, build, build-cloud, load, prepare, set-allocation-count, unload, upload-images |
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. If not set with the command line, uses the environment variable GENVID_CLUSTER_ID if it exists. Otherwise defaults to ‘local’ Default: “local” |
Sub-commands:¶
set-allocation-count¶
update the number of allocations for a task
loadtester.py set-allocation-count [-h]
upload-images¶
Upload tutorial images to the cloud
loadtester.py upload-images [-h] [-b BUCKET] [-p PATH] [-u] [--region REGION]
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 | |
--region | Region where the images will be uploaded. |