kubernetes/pkg/kubelet/network
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
..
cni Fix unit tests and known flags list 2016-09-13 20:42:52 +00:00
exec Move default directory for exec plugin into exec plugin 2016-09-09 11:43:16 +01:00
hairpin Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
hostport kubenet: SyncHostports for both running and ready to run pods. 2016-09-16 17:29:44 -07:00
kubenet kubenet: SyncHostports for both running and ready to run pods. 2016-09-16 17:29:44 -07:00
mock_network Add network-plugin-mtu option for MTU selection 2016-08-23 01:50:58 -04:00
testing Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
network.go Add network-plugin-mtu option for MTU selection 2016-08-23 01:50:58 -04:00
plugins_test.go Add network-plugin-mtu option for MTU selection 2016-08-23 01:50:58 -04:00
plugins.go Kubelet: add KillPod for new runtime API 2016-09-08 20:56:50 +08:00