Files
kubernetes/pkg/kubelet
Kubernetes Submit Queue 1070a51830 Merge pull request #31388 from yifan-gu/fix_kubenet_getRunningPods
Automatic merge from submit-queue

kubenet: SyncHostports for both running and ready to run pods.

This fixes the race that happens in rktnetes when pod B invokes
'kubenet.SetUpPod()' before another pod A becomes actually running.

The second 'kubenet.SetUpPod()' call will not pick up the pod A
and thus overwrite the host port iptable rules that breaks pod A.

This PR fixes the case by listing all 'active pods' (all non-exited
pods) instead of only running pods.

Fix https://github.com/kubernetes/kubernetes/issues/27975 

Originally discussed in https://github.com/kubernetes/kubernetes/pull/27914#issuecomment-228140108

cc @euank @freehan @dcbw
2016-09-20 04:24:41 -07:00
..
2016-09-16 11:09:24 -07:00
2016-07-16 13:48:21 -04:00
2016-08-30 22:57:47 +02:00
2016-08-17 16:21:19 -04:00
2016-07-16 13:48:21 -04:00
2016-07-16 13:48:21 -04:00
2016-09-08 18:30:09 +08:00
2016-03-02 20:46:32 -05:00
2016-08-03 13:19:22 +08:00
2016-08-22 23:35:11 -04:00