k3s/pkg/kubelet/network
k8s-merge-robot 63602348a4 Merge pull request #29009 from bboreham/hairpin-via-cni
Automatic merge from submit-queue

Use the CNI bridge plugin to set hairpin mode

Following up this part of #23711:

>  I'd like to wait until containernetworking/cni#175 lands and then just pass the request through to CNI.

The code here just
 * passes the required setting down from kubenet to CNI
 * disables `DockerManager` from doing hairpin-veth, if kubenet is in use

Note to test you need a very recent version of the CNI `bridge` plugin; the one brought in by #28799 should be OK.

Also relates to https://github.com/kubernetes/kubernetes/issues/19766#issuecomment-232722864
2016-07-31 10:08:06 -07:00
..
cni periodically reload the cni plugin config 2016-07-27 10:07:52 -07:00
exec Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
hairpin Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
hostport Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
kubenet Use the CNI bridge plugin to set hairpin mode 2016-07-14 17:52:51 +01:00
mock_network Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
testing Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
network.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
plugins.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
plugins_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00