k3s/pkg/kubelet/network
Euan Kemp 2f5e738dc1 kubenet: Fix inconsistent cidr usage/parsing
Before this change, the podCIDRs map contained both cidrs and ips
depending on which code path entered a container into it.

Specifically, SetUpPod would enter a CIDR while GetPodNetworkStatus
would enter an IP.

This normalizes both of them to always enter just IP addresses.

This also removes the now-redundant cidr parsing that was used to get
the ip before
2016-05-27 10:47:12 -07:00
..
cni kubenet: Fix bug where shaper.Reset wasn't called 2016-05-27 10:20:43 -07:00
exec kubenet: set bridge promiscuous mode based on hairpinMode 2016-05-12 10:02:33 -05:00
hairpin Allow using netns path instead of container PID to change hairpin mode 2016-05-18 09:25:42 -05:00
kubenet kubenet: Fix inconsistent cidr usage/parsing 2016-05-27 10:47:12 -07:00
testing Move test-only files to test-only packages 2016-03-01 09:11:32 -08:00
network.go Use the default interface for reporting network stats. 2016-03-01 16:17:04 -08:00
plugins.go Make IsValidLabelValue return error strings 2016-05-17 21:36:10 -07:00
plugins_test.go kubenet: set bridge promiscuous mode based on hairpinMode 2016-05-12 10:02:33 -05:00