Create a Kubernetes cluster with Wandelbots NOVA OS
Synopsis
Create a Kubernetes cluster with Wandelbots NOVA OS, add it to the local instance list and select it (--no-select keeps the current selection, e.g. while other sessions or agents work against it).
With --name, the cluster is added under that name; if the name is taken, the command fails unless --replace is given, which destroys the existing cluster of that name first.
Without --name, the cluster is named "k8srun" and replaces the previous unnamed cluster (previous behaviour; named clusters are never touched). The kubeconfig is then also written to ./kubeconfig.
nova k8srun create [flags]
Examples
# several clusters side by side
$ nova k8srun create --name sim-a
$ nova k8srun create --name sim-b
$ nova --instance sim-a app list
# replace the unnamed cluster
$ nova k8srun create
Options
-h, --help help for create
-n, --name string Name of the cluster in the local instance list (default "k8srun", replacing the previous unnamed one)
--no-select Add the cluster to the local list without selecting it (target it with --instance)
-o, --output format Output format: text or json (default text)
--replace Destroy an existing cluster with the same name first
-v, --version string Version of the service manager to install. (default "x.x.x")
Options inherited from parent commands
--debug Write diagnostic output to stderr: HTTP requests and responses, external commands, the resolved instance. Known secrets are redacted, but bodies (app environments, kubeconfigs) can still contain some: don't share the output unreviewed (env: NOVA_DEBUG=1)
--env string (Wandelbots internal) Portal environment for this invocation: prod, stg or dev (default: the environment of the cloud instance, else of the last 'nova login'; env: NOVA_ENV)
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity (disables TLS verification for all requests)
--instance string Name of the instance to work against for this invocation (overrides the selected instance; env: NOVA_INSTANCE)
SEE ALSO
- nova k8srun - (Wandelbots internal) Create or destroy Kubernetes clusters with Wandelbots NOVA OS and a kubeconfig