chalkctl etcd remove-member¶
Removes another node's etcd member, named by its node or its member ID: for example the member of a node that is gone. The removal is refused when the voters left would have fewer healthy members than their quorum, unless --force is given. A control plane other than the removed one does the removal: --via, or the first one that answers. The command needs an admin client file or the secrets file.
Flags¶
| Flag | Type | Default | Description |
|---|---|---|---|
--address |
list of [NODE=]ADDR | each node's address in the inventory | Address of a node's chalkd: host or host:port for the node the command names, or NODE=ADDR for any node; may be repeated. |
--config |
string | $CHALKOSCONFIG, else ~/.config/chalkos/config, unless --secrets is given | Client file to authenticate with instead of the secrets file. |
--force |
boolean | false |
Remove the member even when the voters left would have no healthy quorum. |
--identity |
list of string | ~/.config/chalkos/age.key, ~/.ssh/id_ed25519, ~/.ssh/id_rsa | File holding an age identity to decrypt the secrets with; may be repeated. |
--inventory |
string | $CHALKOSINVENTORY, else chalkos.yaml in the current directory, when it exists | Inventory naming the cluster's nodes, their addresses and their config files. |
--secrets |
string | — | Cluster secrets path (.age, .enc.*, or plaintext), provider URI, or - for standard input. |
--via |
string | the first other one that answers | Control plane that removes the member. |
Examples¶
# Remove the member of cp3, whose machine failed.
chalkctl etcd remove-member cp3
# Remove a member by its ID.
chalkctl etcd remove-member 8e9e05c52164694d --via cp1
See also¶
- chalkctl etcd: Manage the cluster's etcd members