alijahnas / CKA-practice-exercises

This is a guide for passing the CNCF Certified Kubernetes Administrator (CKA) with practice exercises. Good luck!
GNU General Public License v3.0
1.11k stars 495 forks source link

etcd backup command #9

Open andyleung opened 2 years ago

andyleung commented 2 years ago

save etcd snapshot

sudo ETCDCTL_API=3 etcdctl snapshot save --endpoints 172.16.1.11:2379 snapshot.db --cacert >>>/etc/kubernetes/pki/etcd/server.crt --cert /etc/kubernetes/pki/etcd/ca.crt --key /etc/kubernetes/pki/etcd/ca.key

I think it should be: --cacert /etc/kubernetes/pki/etcd/ca.crt --cert /etc/kubernetes/pki/etcd/server.crt --key /etc/kubernetes/pki/etcd/server.key

younesehb commented 2 years ago

You're right.