genvid-clusters¶
Manage multiple clusters through bastion-api
usage: genvid-clusters [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
{cluster-show,terraform-output,cluster-list,global-tfvars-update,commands-log,terraform-plan,terraform-get,terraform-refresh,global-show,terraform-destroy,terraform-tfvars-update,cluster-delete,terraform-tfvars-show,commands-latest,terraform-apply,global-update,global-tfvars-show,terraform-tfvars-default,commands-list,cluster-create}
...
Positional Arguments¶
command | Possible choices: cluster-show, terraform-output, cluster-list, global-tfvars-update, commands-log, terraform-plan, terraform-get, terraform-refresh, global-show, terraform-destroy, terraform-tfvars-update, cluster-delete, terraform-tfvars-show, commands-latest, terraform-apply, global-update, global-tfvars-show, terraform-tfvars-default, commands-list, cluster-create |
Named Arguments¶
--loglevel | Possible choices: DEBUG, INFO, WARNING, ERROR Set the script log level |
Sub-commands:¶
cluster-show¶
Show a cluster information
genvid-clusters cluster-show [-h] cluster_id
Positional Arguments¶
cluster_id | The cluster id. |
terraform-output¶
Execute terraform output
genvid-clusters terraform-output [-h] [-c CLUSTERS] [-g]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False |
global-tfvars-update¶
Update the global tfvars file
genvid-clusters global-tfvars-update [-h] tffile
Positional Arguments¶
tffile | The source tfvars file. |
commands-log¶
Show a command log
genvid-clusters commands-log [-h] [-c CLUSTERS] [-g] command_id
Positional Arguments¶
command_id | The command id. |
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False |
terraform-plan¶
Execute terraform plan
genvid-clusters terraform-plan [-h] [-c CLUSTERS] [-g] [-s] [-d]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False | |
-s, --silent | Do not print the logs. Default: False |
-d, --destroy | Execute a destroy plan. Default: False |
terraform-get¶
Execute terraform get
genvid-clusters terraform-get [-h] [-c CLUSTERS] [-g]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False |
terraform-refresh¶
Execute terraform refresh
genvid-clusters terraform-refresh [-h] [-c CLUSTERS] [-g] [-s]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False | |
-s, --silent | Do not print the logs. Default: False |
terraform-destroy¶
Execute terraform destroy
genvid-clusters terraform-destroy [-h] [-c CLUSTERS] [-g] [-s]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False | |
-s, --silent | Do not print the logs. Default: False |
terraform-tfvars-update¶
Update the content of the terraform.tfvars file
genvid-clusters terraform-tfvars-update [-h] [-c CLUSTERS] [-g] tffile
Positional Arguments¶
tffile | The source tfvars file. |
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False |
cluster-delete¶
Delete a cluster
genvid-clusters cluster-delete [-h] cluster_id
Positional Arguments¶
cluster_id | The cluster id. |
terraform-tfvars-show¶
Show the content of the terraform.tfvars file
genvid-clusters terraform-tfvars-show [-h] [-c CLUSTERS] [-g]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False |
commands-latest¶
Show the current of latest log
genvid-clusters commands-latest [-h] [-c CLUSTERS] [-g]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False |
terraform-apply¶
Execute terraform apply
genvid-clusters terraform-apply [-h] [-c CLUSTERS] [-g] [-s]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False | |
-s, --silent | Do not print the logs. Default: False |
global-update¶
Update the global config
genvid-clusters global-update [-h] bastion_id source
Positional Arguments¶
bastion_id | The bastion id. |
source | The terraform source. Can be empty |
global-tfvars-show¶
Show the content of the global terraform.tfvars.json file
genvid-clusters global-tfvars-show [-h]
terraform-tfvars-default¶
Show a generated terraform.tfvars file
genvid-clusters terraform-tfvars-default [-h] [-c CLUSTERS] [-g]
Named Arguments¶
-c, --clusters | The cluster id. |
-g, --globalcontext | |
Global operation. Default: False |