Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: clean up stale snapshots on container start
I wasn't able to reproduce this case, but looks like containerd can get into a state when the snapshot was left behind, but container record is missing. This prevents the container from being started with the error: ``` failed to create container kubelet: snapshot kubelet: already exists ``` This PR should help to fix this issue by trying to remove the snapshot by name even if the container record is not found. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
- Loading branch information