Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stop networkd before leaving etcd on 'reset' path
The problem is with VIP and `reset` sequence: the order of operations was that `etcd` was stopped first while `networkd` was still running, and if the node owned the VIP at the time of the reset action, the lease will be lost (as client connection is gone), so VIP will be unassigned for a pretty long time. This PR changes the order of operations: first, stop `networkd` and other pods, and leave `etcd` last, so that VIP is released, and `kube-apiserver` for example isn't left hanging on the node while `etcd` is gone. Fixes #3500 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
- Loading branch information