k3s has removed some standard plugins, which we need. So fork and add it back.
Go to file
Matt Zahorik 808d4e20ae Append a default route to the CNI reply if there's a gateway advertised.
Classless static routes (DHCP option 121) are now processed first.
If CSRs exist, static routes (DHCP option 33) and the gateway default
route are ignored as per RFC 3442.
2018-01-26 10:06:26 -05:00
Godeps host-local: Update host-local IPAM to support Windows 2017-11-11 15:17:45 -08:00
pkg Enable Windows CI (Appveyor) 2017-11-10 08:09:29 -08:00
plugins Append a default route to the CNI reply if there's a gateway advertised. 2018-01-26 10:06:26 -05:00
scripts Release: clean the builddir when building 2017-08-14 14:42:50 +02:00
vendor host-local: Update host-local IPAM to support Windows 2017-11-11 15:17:45 -08:00
.appveyor.yml Enable Windows CI (Appveyor) 2017-11-10 08:09:29 -08:00
.gitignore add Vagrantfile to support cross-platform development 2017-06-06 20:13:31 -07:00
.travis.yml Merge pull request #65 from rosenhouse/golang-to-1.9 2017-10-18 15:36:34 -07:00
build.sh If we're on OS X then have Go cross compile for us 2017-07-20 12:03:30 -04:00
CONTRIBUTING.md add Vagrantfile to support cross-platform development 2017-06-06 20:13:31 -07:00
LICENSE Initial commit 2017-03-10 16:46:52 +01:00
README.md README: add badge for appveyor (Windows CI) 2017-12-03 14:22:36 -08:00
RELEASING.md Add release process 2017-07-11 13:57:49 -07:00
test.sh travis: run with ginkgo -p instead of go test 2017-08-30 20:22:12 -07:00
Vagrantfile Vagrantfile: update to golang 1.9.1 2017-10-11 21:19:16 +02:00

Linux Build Status Windows Build Status

plugins

Some CNI network plugins, maintained by the containernetworking team. For more information, see the individual READMEs.

Plugins supplied:

Main: interface-creating

  • bridge: Creates a bridge, adds the host and the container to it.
  • ipvlan: Adds an ipvlan interface in the container
  • loopback: Creates a loopback interface
  • macvlan: Creates a new MAC address, forwards all traffic to that to the container
  • ptp: Creates a veth pair.
  • vlan: Allocates a vlan device.

IPAM: IP address allocation

  • dhcp: Runs a daemon on the host to make DHCP requests on behalf of the container
  • host-local: maintains a local database of allocated IPs

Meta: other plugins

  • flannel: generates an interface corresponding to a flannel config file
  • tuning: Tweaks sysctl parameters of an existing interface
  • portmap: An iptables-based portmapping plugin. Maps ports from the host's address space to the container.

Sample

The sample plugin provides an example for building your own plugin.