Files
virtual-kubelet/node
Sargun Dhillon de7f7dd173 Fix issue #899: Pod status out of sync after being marked as not ready by controller manager
As described in the issue, if the following sequence happens, we fail to properly
update the pod status in api server:

1. Create pod in k8s
2. Provider creates the pod and syncs its status back
3. Pod in k8s ready/running, all fine
4. Virtual kubelet fails to update node status for some time for whatever reason (e.g. network connectivity issues)
5. Virtual node marked as NotReady with message: Kubelet stopped posting node status
6. kube-controller-manager of k8s, goes and marks all pods as Ready = false:
7. Virtual kubelet never sync's status of pod in provider back to k8s
2020-12-07 16:50:00 -08:00
..
2020-12-06 13:20:03 -08:00
2020-12-06 13:20:03 -08:00
2020-07-07 21:00:56 -07:00
2020-12-03 11:33:06 -08:00
2020-12-07 08:51:57 -08:00
2020-10-04 19:52:34 -07:00
2019-10-02 09:28:09 -07:00