Show information about an instance
Synopsis
Show information about an instance of any kind; without a name, the targeted one (selected, or set via --instance / NOVA_INSTANCE). Secrets are redacted unless --show-secrets is given. For cloud instances, the live state from portal.wandelbots.io is included when logged in. It is possible to only return the host or the instanceId of the instance by using the --host or --instanceId flags (e.g. to write these information to a env vars).
nova instance info [name] [flags]
Examples
# e.g. after creating an instance, you can use the following command to write the host to an env var
$ nova instance create
$ export NOVA_HOST=$(nova instance info --host)
# show a specific instance
$ nova instance info lab
Options
-h, --help help for info
--host Only return the host of the instance instead of the full information.
--instanceId Only return the instanceId of the instance instead of the full information.
-o, --output format Output format: text or json (default text)
--show-secrets Print tokens instead of redacting them.
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