Skip to content

K0s etcd leave

k0s etcd leave#

Leave the etcd cluster, or remove a specific peer

k0s etcd leave [flags]

Options#

      --data-dir string               Data Directory for k0s. DO NOT CHANGE for an existing setup, things will break! (default "/var/lib/k0s")
  -d, --debug                         Debug logging (default: false)
      --debugListenOn string          Http listenOn for Debug pprof handler (default ":6060")
  -h, --help                          help for leave
      --peer-address ip-or-dns-name   etcd peer address to remove (default <this node's peer address>)
      --status-socket string          Full file path to the socket file. (default: <rundir>/status.sock)
  -v, --verbose                       Verbose logging (default: false)

SEE ALSO#