loadtester.py

Script to manage the load tester

usage: loadtester.py [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
                     [--logformat LOGFORMAT] [-c CLUSTER_ID]
                     {stop,start,prepare,upload-images,build,build-cloud,load,monitor,unload,env}
                     ...

Positional Arguments

command Possible choices: stop, start, prepare, upload-images, build, build-cloud, load, monitor, unload, 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:

stop

stop the load test

loadtester.py stop [-h]

start

run the load test

loadtester.py start [-h] target

Positional Arguments

target The target cluster name

prepare

prepare the dependencies

loadtester.py prepare [-h]

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

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]

monitor

Show the health check of all leaves running in the cluster

loadtester.py monitor [-h] target

Positional Arguments

target The target cluster name

unload

Unload the configuration from the cluster

loadtester.py unload [-h]

env

Print environment variables

loadtester.py env [-h]