k3s has removed some standard plugins, which we need. So fork and add it back.
Go to file
MaiWJ b56ca2fe45 Windows Support
Patch for https://github.com/containernetworking/plugins/pull/85

+ Windows cni plugins are added
   (*) win-bridge (hostgw)
   (*) win-overlay (vxlan)
+ Windows netconf unit test
+ Fix appveyor config to run the test
+ Build release support for windows plugins

Address comments

From:
    - https://github.com/containernetworking/plugins/pull/85
    - 0049c64e3f
2018-09-21 00:34:07 +08:00
Godeps Update Vendor 2018-09-21 00:34:07 +08:00
integration Merge pull request #144 from squeed/build-fixes 2018-04-25 10:41:32 -05:00
pkg Windows Support 2018-09-21 00:34:07 +08:00
plugins Windows Support 2018-09-21 00:34:07 +08:00
scripts scripts: support building releases without a TTY 2018-08-09 10:20:40 -04:00
vendor Update Vendor 2018-09-21 00:34:07 +08:00
.appveyor.yml Windows Support 2018-09-21 00:34:07 +08:00
.gitignore Update Vendor 2018-09-21 00:34:07 +08:00
.travis.yml Windows Support 2018-09-21 00:34:07 +08:00
build.sh Windows Support 2018-09-21 00:34:07 +08:00
CONTRIBUTING.md Add build instructions 2018-07-04 14:41:16 +00:00
LICENSE Initial commit 2017-03-10 16:46:52 +01:00
README.md Windows Support 2018-09-21 00:34:07 +08:00
RELEASING.md Add release process 2017-07-11 13:57:49 -07:00
test.sh build: some small improvements; bump to go1.10 2018-04-12 16:59:51 +02:00
Vagrantfile Windows Support 2018-09-21 00:34:07 +08:00

Linux Build Status Windows Build Status

plugins

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

Read CONTRIBUTING for build and test instructions.

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: Set the state of loopback interface to up.
  • macvlan: Creates a new MAC address, forwards all traffic to that to the container.
  • ptp: Creates a veth pair.
  • vlan: Allocates a vlan device.

Windows: windows specific

  • win-bridge: Creates a bridge, adds the host and the container to it.
  • win-overlay: Creates an overlay interface to the container.

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.