Kubernetes-Master-Class
Kubernetes-Master-Class copied to clipboard
Recovering from `rke etcd snapshot-restore` failures
Recovering from rke etcd snapshot-restore
failures
If an error is encountered while performing an etcd restoration from a snapshot, it's possible for failures to persist even after remediating the root cause. To avoid this behavior, it's recommended to clean up one or all the pods that were created during the rke etcd snapshot-restore
process prior to performing subsequent restore attempts. Following is a list of applicable pods that are created during the etcd restoral process:
- etcd-restore
- etcd-checksum-checker
- etcd-download-backup
- etcd-Serve-backup
- etcd-extract-statefile
References
- https://github.com/rancher/rke/blob/397ffdbb81177c7b524695f40be48d5d8f999258/services/services.go#L34