Does the etcd command change?

Hi KodeKloud team:

Today I was making the CKA mock exams from the CKA course. The second one CKA Certification Course - Certified Kubernetes Administrator Course | KodeKloud in the first question you need to do a etcd backup. But my command would not detect the snapshot save part. Also only the flags with --cert-file, --key-file, and --ca-cert (Or similar) works with the command, so the common ones like --cert --cacert --key doesn’t works now.

Does I miss something in this month ? The flags and the snapshot operator are deprecated ?

Cheers

Hi @carlos140

I just tried the lab in the link you posted and etcd backup functionality is working as expected. The snapshot was created at the required location.

Make sure you are setting the ETCDCTL_API Envar : export ETCDCTL_API=3

Thanks. I just tried now and it works. I’m not sure if it was a bug, but now is working.

Thanks for the reply

Cheers