Skip to main content

remove-instances

inctl vm pool debug remove-instances

Remove instances from a pool.

Synopsis

Remove instances from a pool.

Removes up to the given number of unused instances from the given pool. An instance is considered unused if it is in the Ready or Provisioning phase. Does not remove instances which are leased or are in the decommission phase.

inctl vm pool debug remove-instances [flags]

Options

      --count int     Number of instances to remove.
-h, --help help for remove-instances
--pool string The name of the VM pool.

Options inherited from parent commands

  -e, --email string     User email to be used for access control. Optional, will fall back to $USER@google.com if unset.
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.
-p, --project string The Google Cloud Project (GCP) project to use. You can set the environment variable
INTRINSIC_PROJECT=project_name to set a default project name.

SEE ALSO