Hello <@U012WKR50KT> may i know what are you trying to do?
Hello <@UPETH3SHK> - As explained by <@UJZ3R6ZND> in the chapter - ETCD in Kubernetes, I am trying to explore the etcd databse, so to list all keys stored by K8s - i just tried to run the above command (as explained in the session) on my Kubernetes cluster installed in my laptop with a master node and 2 worker node.
You must set the ETCDCTL_API version and pass in the certs as well. I will add an article after that lecture with this command:
kubectl exec etcd-master -n kube-system -- sh -c "ETCDCTL_API=3 etcdctl get / --prefix --keys-only --limit=10 --cacert /etc/kubernetes/pki/etcd/ca.crt --cert /etc/kubernetes/pki/etcd/server.crt --key /etc/kubernetes/pki/etcd/server.key"