Cli Decommission Node

The pf9ctl decommission-node command detaches the node from the cluster, deauthorize it, and then removes it from Platform9.

Syntax Example

pf9ctl decommission-node [flags]

All Available Commands and Flags

pf9ctl decommission-node --help
Removes the host agent package and decommissions this node from the Platform9 control plane.

Usage:
  pf9ctl decommission-node [flags]

Flags:
  -h, --help         help for decommission-node
      --mfa string   MFA token

Global Flags:
      --no-prompt   disable all user prompts
      --verbose     print verbose logs

Command Example

Note: If the node was used with proxy configuration, following file needs to be deleted from the node to use without proxy or a new configuration : /etc/systemd/system/containerd.service.d/00-pf9-proxy.conf

Last updated

Was this helpful?