Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ignore connection reset errors on k8s upgrade
This fixes `talosctl upgrade-k8s`: ``` Get "https://172.21.0.1:6443/api/v1/namespaces/kube-system/pods?labelSelector=k8s-app+%3D+kube-apiserver": read tcp 172.21.0.1:51416->172.21.0.1:6443: read: connection reset by peer ``` The error happens when the `kube-apiserver` is restarted during the control plane upgrade, and it should be ignored as a transient error. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
- Loading branch information