Install module

Restoring the ETCD cluster using the etcd-helper module is only possible in a highly available (HA) cluster:

To start working with the module:

  • Install the etcd-helper package containing the edtcdctl, etcdutl, etcdhelper utilities.
Command
yum install etcdhelper

The etcd-helper module will be loaded into /usr/local/bin.

Screenshot

etcdinstall

  • To query the ETCD cluster, run etcdctl with the required parameters using the etcdhelper exec command. The required parameters will be obtained from /etc/kubernetes/manifests/etcd.yaml.
Command
/usr/local/bin/etcdhelper exec -- member list -w table

Where the -- parameter is necessary for the correct transfer of keys in the script.

Screenshot

etcdexec1