Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ignore errors on stopping/removing pod sandboxes
Talos stops CRI pods and containers before upgrade to make sure ephemeral partition is not mounted anymore. At the same time with different CNIs it's frequent that removing stop sandbox might fail because of CNI teardown issue (dependency on API server being up, for example). As upgrade only depends on volume mounts and doesn't require CNI to be stopped, we can ignore such errors. Plus installer anyway does mount check across all mount namespaces, so it will abort if ephemeral partition is still mounted. Fixes #2974 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
- Loading branch information