k3s has removed some standard plugins, which we need. So fork and add it back.
Go to file
Dan Williams 0da6780449 pkg,plugins: update for Result struct Interface index changes
It's a pointer now, so we need to use the helper function to set
the field and also test for nil before accessing it.
2017-06-29 13:40:36 -05:00
Godeps vendor: bump cni to 0.5.2-git49d814c 2017-06-28 12:06:37 -05:00
pkg pkg,plugins: update for Result struct Interface index changes 2017-06-29 13:40:36 -05:00
plugins pkg,plugins: update for Result struct Interface index changes 2017-06-29 13:40:36 -05:00
vendor vendor: bump cni to 0.5.2-git49d814c 2017-06-28 12:06:37 -05:00
.gitignore add Vagrantfile to support cross-platform development 2017-06-06 20:13:31 -07:00
.travis.yml build: some minor post-repo-split fixes; add fastbuild 2017-06-01 18:51:46 +02:00
build.sh build: some minor post-repo-split fixes; add fastbuild 2017-06-01 18:51:46 +02: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 plugins/meta/portmap: add an iptables-based host port mapping plugin 2017-06-01 10:06:28 +02:00
test.sh build: some minor post-repo-split fixes; add fastbuild 2017-06-01 18:51:46 +02:00
Vagrantfile add Vagrantfile to support cross-platform development 2017-06-06 20:13:31 -07:00

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.