kubernetes/pkg/kubelet/network/hostport
Yifan Gu 5389a74388 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.
2016-09-16 17:29:44 -07:00
..
testing kubenet: SyncHostports for both running and ready to run pods. 2016-09-16 17:29:44 -07:00
fake_iptables.go Clean up IPTables caps i.e.: sed -i "s/Iptables/IPTables/g" 2016-08-29 10:34:42 +10:00
hostport_test.go kubenet: SyncHostports for both running and ready to run pods. 2016-09-16 17:29:44 -07:00
hostport.go kubenet: SyncHostports for both running and ready to run pods. 2016-09-16 17:29:44 -07:00