How to backup etcd on a Kubernetes cluster created with kubeadm - rpc error: code = 13
问题 I have a K8s cluster created with kubeadm that consists of a master node and two workers. I am following this documentation article regarding the etcd backup: https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/#backing-up-an-etcd-cluster I have to use etcdctl to backup the etcd db so I sh into the etcd pod running on the master node to do it from there: kubectl exec -it -n kube-system etcd-ip-x-x-x-x sh NOTE: The master node hosts the etcd database in this path /var