Registers a reachable NOVA host (e.g. an on-prem IPC) as instance
Synopsis
Registers a reachable NOVA host, e.g. an on-prem IPC or your own server, as a local instance of kind "host". Nothing is changed on the host itself.
If no instance is selected yet, the new one is selected. Fails if the name is taken; use 'nova --instance <name> config set host <url>' to change an existing entry.
nova instance add <name> --host <url> [flags]
Examples
$ nova instance add lab --host 192.168.1.10 --kubeconfig ./k3s.yaml
$ nova instance add line2 --host https://ipc-line2.example.com --cell line2 --select
Options
--cell string Cell to work with on this instance (default "cell")
-h, --help help for add
--host string Host of the NOVA instance, e.g. 192.168.1.10 or https://ipc.example.com (required)
--kubeconfig string Kubeconfig file of the host ('-' for stdin); a copy is stored for 'nova instance kubeconfig/env'
-o, --output format Output format: text or json (default text)
--select Select the new instance (it is always selected if no instance is selected yet)
--ssh-user string SSH user for 'nova instance kubeconfig' on this host
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 instance - Manage the NOVA instances the CLI works against