loadtester.py
Script to manage the load tester
usage: loadtester.py [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
[--logformat LOGFORMAT] [-c CLUSTER_ID]
{sdk-version,version,env,build,build-cloud,load,prepare,set-allocation-count,unload,upload-images}
...
Positional Arguments
- command
Possible choices: sdk-version, version, 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
sdk-version
Print current SDK versions
loadtester.py sdk-version [-h]
version
Print current versions
loadtester.py version [-h]
env
Print used environment variables.
loadtester.py env [-h]
build
Build the specified target
loadtester.py build [-h]
build-cloud
Build the specified target for the cloud
loadtester.py build-cloud [-h]
load
Load the configuration in the cluster
loadtester.py load [-h]
prepare
prepare the dependencies
loadtester.py prepare [-h]
set-allocation-count
update the number of allocations for a task
loadtester.py set-allocation-count [-h]
unload
Unload the configuration from the cluster
loadtester.py unload [-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.