12345678910111213141516171819 |
- Check status:
- ```
- sudo crictl ps -a | grep etcd
- sudo crictl logs <id>
- ```
- Maybe a safish restore?:
- ```
- sudo cp /var/lib/etcd/member/snap/db ./test.db
- sudo mv /var/lib/etcd{,.bak}
- sudo bash
- systemctl daemon-reload
- systemctl stop crio
- systemctl stop kubelet
- ETCDCTL_API=3 etcdctl snapshot restore ./test.db --skip-hash-check=true --data-dir=/var/lib/etcd/
- systemctl start crio
- systemctl start kubelet
- ```
|