NOVA CLI reference 0.5.0 GitHub
  1. nova

nova k8srun

(Wandelbots internal) Create or destroy Kubernetes clusters with Wandelbots NOVA OS and a kubeconfig

Synopsis

(Wandelbots internal) Create or destroy Kubernetes clusters with Wandelbots NOVA OS.

These clusters are provided by a Wandelbots-internal service and only work from the Wandelbots network; outside Wandelbots, use a cloud instance ('nova instance create') or your own device ('nova instance add').

Unlike a cloud instance, a k8srun cluster comes with a kubeconfig, i.e. access to the Kubernetes API. That makes it the choice when a workflow needs Kubernetes (e.g. skaffold, helm or kubectl during app development) and no physical device is at hand. A cluster expires after 12 hours.

Each cluster is added to the local instance list as kind "k8srun" (see 'nova instance'). Its kubeconfig is stored in ~/.nova/instances/<name>/kubeconfig; point your shell to it with 'eval "$(nova instance env <name>)"'.

'nova virtual' is a deprecated alias of this command.

nova k8srun [flags]

Examples

$ nova k8srun create --name dev
$ eval "$(nova instance env dev)"
$ skaffold dev

Options

  -h, --help   help for k8srun

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