kubectl

strong-opx kubectl

Manage Kubernetes Cluster

usage: strong-opx kubectl [-h] [--project PROJECT] [--env ENVIRONMENT] [--update-config] [-v {0,1,2,3}] [--traceback]

options

-h, --help

show this help message and exit

--project <project>

Select project by its name. If missing, strong-opx will attempt to auto-select project based on current working directory and its parents and looking for presence of configured project

--env <environment>

Environment name. If project has only one environment that will be auto selected

--update-config

Force update kubectl config

-v {0,1,2,3}, --verbosity {0,1,2,3}

Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output.

--traceback

Raise instead of handling known exceptions

Note

All additional arguments passed to the kubectl command are passed directly to the kubectl command. This means that you can use any kubectl command and arguments that you would normally use with the kubectl command line tool.

Additionally, any argument passed after the separator will be passed directly to the kubectl command. This allows you to pass arguments that would otherwise be interpreted by the strong-opx kubectl command.

See also

For more details on structuring kubernetes artifacts: Platform: Kubernetes.