Vai al contenuto

nexoctl admin decommission

Drain a server pool so that it can be removed

Synopsis

Drain a server pool: it takes no new object, and every version of its objects moves to the other pools, verified before the source copy is removed. Once the status reports "complete", remove the pool from the command line of every node and restart them. The first pool, which holds the system documents, cannot be decommissioned.

nexoctl admin decommission [flags]

Options

  -h, --help   help for decommission

Options inherited from parent commands

      --config-dir string   configuration directory (default $NEXOCTL_CONFIG_DIR or ~/.nexoctl)
      --debug               dump the HTTP requests and responses on stderr, with the secrets redacted
      --json                print JSON Lines (one object per line with a "status" member)
      --no-color            disable colors (also with the NO_COLOR environment variable)
  -q, --quiet               hide confirmations and progress (results and errors are still printed)

SEE ALSO