k3s has removed some standard plugins, which we need. So fork and add it back.
Go to file
Casey Callendrello 83ec9bb73f portmap: Don't accept a port number of 0
This also adds more testing around configuration parsing.
2017-06-15 14:00:04 +02:00
Godeps vendor: add mattn/go-shellwords 2017-05-31 19:21:03 +02:00
pkg Merge pull request #14 from rosenhouse/more-ns-warning-redux 2017-06-14 16:18:26 +01:00
plugins portmap: Don't accept a port number of 0 2017-06-15 14:00:04 +02:00
vendor vendor: add mattn/go-shellwords 2017-05-31 19:21:03 +02: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.