CKA ultimate LAB - install ETCD


Any lovely member could explain this solution to me ? i didn’t find any video explain this, need to understand the concept but not memory it when go exam.

Thank you in advance who is helping on this !!

Hi @mengkiat0211,

Step 1 : connect on controlplane
Step 2 : install etcdctl
Step 3 : backup ETCD database

Regard

1 Like

Is there a difference if I install using binaries or using Package?

Hi @archna.mittal
No difference you just need the command line tool.

In the CKA mock exam solution if I install using package. (sudo apt install etcd) then it is saying that answer is wrong. Can you please help if I am mentioning wrong package here.

Thanks

Hi @archna.mittal,

Use this guide

Are we allowed to use that site during the exam? Is there a place in the kubernetes.io where these instructions are also given?

Hi @tzk223,

You’ve nothing to install during the exam. All requirements will be available on platform.

If some additional work needs to be done; he’ll guide you on how to do it

Regard

Could you elaborate “You’ve nothing to install during the exam. All requirements will be available on platform”? Do you mean the real CKA exam will not ask “etcdctl install commands”? Thx!

Hi @ethanlu2000
Exactly the task you can have on etcd will cover backup restore and troubleshooting

The following is available in computingforgeeks.com/ but we cannot find it within kubernetes.io/ which exam allows…
cluster1-controlplane ~ ➜ export RELEASE=$(curl -s … | grep tag_name | cut -d ‘"’ -f 4)

cluster1-controlplane ~ ➜ wget …
cluster1-controlplane ~ ➜ tar xvf etcd-${RELEASE}-linux-amd64.tar.gz ; cd etcd-${RELEASE}-linux-amd64

I just went through this post. So did you get an answer for this?

Are the steps mentioned here available on k8s docs or discussions/blog that’s accessible during CKA exam?

Do not worry.

You will not have to install etcd or etcdctl in the real exam. They are provided.
etcd website is not in allowed documentation, and you will not be asked to do anything for which the documentation site is not available.

Remember, that if you are asked to install a cluster, kubeadm installs etcd for you. It is the steps taught in the course -and the steps for running kabeadm are on the kubernetes doc site.

2 Likes

Ok great. Thank you for the clarification!

The KodeKloud questions are great for CKA review and make you think outside the box for real projects. Some, I may add, are harder to do than the CKA exam questions, challenging you to learn in-depth topics you take away to use in real projects.