genvid-sdk

setup-vault

New in version 1.15.0.

setup-nomad

New in version 1.15.0.

Tool for manipulating the SDK.

usage: genvid-sdk [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}] [-c CLUSTER_ID]
                  {clean,clean-config,clean-images,consul-template,load-config,load-config-sdk,log,monitor,open,open-link,setup,setup-nomad,setup-vault,show-config,show-config-sdk,show-jobs,start,stop,upload-images,upload-images-sdk}
                  ...

Positional Arguments

command Possible choices: clean, clean-config, clean-images, consul-template, load-config, load-config-sdk, log, monitor, open, open-link, setup, setup-nomad, setup-vault, show-config, show-config-sdk, show-jobs, start, stop, upload-images, upload-images-sdk

Named Arguments

--loglevel

Possible choices: DEBUG, INFO, WARNING, ERROR

Set the script log level

-c, --cluster_id
 

The cluster id. Default local

Default: “local”

Sub-commands:

clean

Uninstall services.

genvid-sdk clean [-h]

clean-config

Clean the whole configuration.

genvid-sdk clean-config [-h] [source]

Positional Arguments

source The configuration file that you want to remove.

clean-images

Delete all uploaded images.

genvid-sdk clean-images [-h] [-b BUCKET] [-p PATH] [-u]

Named Arguments

-b, --bucket Name of the bucket to use. Default is a combination of AWS account and bastion ids.
-p, --path

The path in the bucket (default: “/images/custom”).

Default: “/images/custom”

-u, --update-config
 

Upload configuration in the current cluster.

Default: False

consul-template

Apply a Consul template.

genvid-sdk consul-template [-h] template

Positional Arguments

template The template to load.

load-config

Append to the configuration.

genvid-sdk load-config [-h] source

Positional Arguments

source The configuration file to load.

load-config-sdk

Load the SDK configuration.

genvid-sdk load-config-sdk [-h]

log

Show a log.

genvid-sdk log [-h] [-t] [-n LINES] [-f] task

Positional Arguments

task The name of the log.

Named Arguments

-t, --tail

Only show the last line.

Default: False

-n, --lines

The number of lines to tail (10).

Default: 10

-f, --follow

Wait for additional content at the end of file.

Default: False

monitor

Open cluster-ui for this cluster.

genvid-sdk monitor [-h]

open

Open a GUI to the specified service

genvid-sdk open [-h] [link]

Positional Arguments

link The name of the link.

setup

Set up the services.

genvid-sdk setup [-h] [-b BUCKET] [-p PATH]

Named Arguments

-b, --bucket Name of the bucket to use. Default is a combination of AWS account and bastion ids.
-p, --path

The path in the bucket (default: “/images/custom”).

Default: “/images/custom”

setup-nomad

Setup nomad-server token on nomad server.

genvid-sdk setup-nomad [-h]

setup-vault

Setup vault service.

genvid-sdk setup-vault [-h]

show-config

Show the SDK configuration.

genvid-sdk show-config [-h]

show-config-sdk

Show the SDK configuration.

genvid-sdk show-config-sdk [-h]

show-jobs

Show the jobs.

genvid-sdk show-jobs [-h]

start

Start jobs.

genvid-sdk start [-h] [jobs [jobs ...]]

Positional Arguments

jobs The jobs to start.

stop

Stop jobs.

genvid-sdk stop [-h] [jobs [jobs ...]]

Positional Arguments

jobs The jobs to start.

upload-images

Upload the specified images prefix.

genvid-sdk upload-images [-h] [-b BUCKET] [-p PATH] [-u]
                         [prefixes [prefixes ...]]

Positional Arguments

prefixes The prefixes of the images to upload.

Named Arguments

-b, --bucket Name of the bucket to use. Default is a combination of AWS account and bastion ids.
-p, --path

The path in the bucket (default: “/images/custom”).

Default: “/images/custom”

-u, --update-config
 

Upload configuration in the current cluster.

Default: False

upload-images-sdk

Upload the SDK images.

genvid-sdk upload-images-sdk [-h] [-b BUCKET] [-p PATH] [-u]

Named Arguments

-b, --bucket Name of the bucket to use. Default is a combination of AWS account and bastion ids.
-p, --path

The path in the bucket (default: “/images/sdk-1.15.0”).

Default: “/images/sdk-1.15.0”

-u, --update-config
 

Upload configuration in the current cluster.

Default: False