Skip to main content
1 vote
Accepted

How to defragment etcd database in Kubernetes cluster

You have to login to that host where etcd pods is running (usually Mater node) and execute : etcdctl defrag OR ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/...
Amandeep Singh's user avatar
1 vote

How to defragment etcd database in Kubernetes cluster

You need to run the command on one of the Kubernetes nodes where the etcd pods are running. I'm running this from Git Bash. It errors out with a message that seems to make no sense. It's almost as ...
guesty mcguest's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible