[EOL] etcdadm is a command-line tool for operating an etcd cluster
[EOL] etcdadm is a command-line tool for operating an etcd cluster
etcdadm is a command-line tool for operating an etcd cluster. It makes it easy to create a new cluster, add a member to, or remove a member from an existing cluster. Its user experience is inspired by kubeadm.
For major project goals, see the roadmap
make etcdadmmake container-buildmake with the GOPROXY environment variable set to a third party you trust, for example:GOPROXY=https://goproxy.io make container-buildgoproxy.io is not endorsed specifically by the project.etcdadm to each machine that will become a member.etcdadm initrsync -avR /etc/etcd/pki/ca.* :/etcdadm join On the machine being removed, run
etcdadm resetIf you have an existing etcd snapshot, you can use it to create a new cluster:
etcdadm init --snapshot /path/to/etcd.snapshotThe goal of etcdadm is to make it easy to operate an etcd cluster. It downloads a specific etcd release, installs the binary, configures a systemd service, generates certificates, calls the etcd API to add (or remove) a member, and verifies that the new member is healthy.
Etcdadm must be run on the machine that is being added or removed. As a consequence, if a member permanently fails, and the operator cannot invoke etcdadm reset on that machine, the operator must use the etcd API to delete the failed member from the list of members.
On its own, etcdadm does not automate cluster operation, but a cluster orchestrator can delegate all the above tasks to etcdadm.
See docs/diagrams for sequence diagrams of init, join, and reset.
For more information reach out to etcdadm slack channel
No open issues yet, or sync has not completed.