Andrey Smirnov
e664362cec
feat: add API and command to save etcd snapshot (backup)
...
This adds a simple API and `talosctl etcd snapshot` command to stream
snapshot of etcd from one of the control plane nodes to the local file.
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-02 09:20:16 -07:00
Andrey Smirnov
254e0e91e1
fix: correctly unwrap responses for etcd commands
...
This uses wrappers which helps to unwrap errors from proxied apid
responses.
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-17 11:33:54 -08:00
Artem Chernyshev
a83e8758db
feat: add commands to manage/query etcd cluster
...
Used already existing protobufs for that.
Commands:
`talosctl etcd members -n <node>`
`talosctl etcd leave -n <node>`
`talosctl etcd forfeit-leadership -n <node>`
Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-12-22 11:49:10 -08:00