ga2022
February 3, 2022, 2:47am
2
Hey Thomas, I used the link below during my preparation. It’s also accessible during the exam. Practice it multiple times and you should be good to go.
i tried to backup etcd to local cluster, but it seems only endpoint didn’t work properly, only this command work for me
ETCDCTL_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt \
--cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key \
snapshot save
are those certs mandatory to backup the etcd db?
while restoring, why these additional parameters need to be passed in, such as:
ETCDCTL_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt \
--name=master \
--cer…
1 Like