Add a Nucleus server
Synopsis
Add a Nucleus server to the local list. The API token is read from stdin with --token-stdin (it never appears in the shell history), or set later with 'nova config set nucleus-token <token> --nucleus <name>'.
If no server is selected yet, the new one is selected; --select selects it anyway.
nova nucleus server add <name> --host <host> [flags]
Examples
$ nova nucleus server add dev --host nucleus.dev.wandelbots.io --token-stdin < token.txt
$ printf '%s' "$NUCLEUS_TOKEN" | nova nucleus server add wb --host nucleus.wb.wandelbots.io --token-stdin --select
Options
-h, --help help for add
--host string Host of the Nucleus server, e.g. nucleus.dev.wandelbots.io (required)
--select Select the new server (it is always selected if none is selected yet)
--tls Use TLS (wss://) (default true)
--token-stdin Read the API token from stdin
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)
--nucleus string Name of the Nucleus server for this invocation (overrides the selected one; env: NOVA_NUCLEUS)
--nucleus-host string Nucleus server host (overrides config)
--nucleus-tls Use TLS (wss://) (default true)
--nucleus-token string Nucleus API token (overrides NUCLEUS_TOKEN env)
SEE ALSO
- nova nucleus server - Manage the Nucleus servers the CLI knows