Hi i have given CKA exam yesterday and got failed.with 61%. i have seen in ETCD backup restore is giving error but dont know why.
my command was below
ETCDCTL_API=3 etcdctl snapshot save /tmp/etcd-backup.db --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key
but in exam same command not working i know they have given different cert location i have maintain this but after that backup failed.
can anyone please help me.
also i have seen when i am using this below command it says bash: etcdctl: command not found
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 /tmp/etcd-backup.db
Ayman
April 11, 2022, 9:48pm
#3
Hello kkopsmirpur ,
Make sure that you’re using the right machine which contains the etcdctl. Not all labs contain the etcdctl tool. try to use this lab Udemy Labs - Certified Kubernetes Administrator with Practice Tests - KodeKloud
Thanks,
KodeKloud Support
Hi Thanks for your reply but i am talking about real exam.i have sat for exam yestreday but in exam environment its given that kind of error.could not in understand why its throwing
that kind of error.any suggestion?also after i run
apt-get install etcd-client its totally unusable because etcd service was got down
Hello @kkopsmirpur ,
You can’t discuss on the official exam. It’s against the NDA.
If you faced any technical issues during the exam then please create a ticket for this.
https://training.linuxfoundation.org/about/contact-us/
Regards,
KodeKloud Support
You need to use the certs given in the exam.