etcdctl

The command-line client for etcd, used to read keys, check member health and save or check snapshots.

In more detail

It needs the etcd certificate authority file, a client certificate and a key, which kubeadm keeps under /etc/kubernetes/pki/etcd. Reading keys directly is for learning and recovery, not for changing objects.

Examples

etcdctl snapshot save /secure/etcd/snapshot.db
etcdctl snapshot status /secure/etcd/snapshot.db

Related terms

Taught in

References