k3s has removed some standard plugins, which we need. So fork and add it back.
Go to file
Eugene Yakubovich a6a822268c add DHCP IPAM plugin
The plugin binary actually functions in two modes. The first mode
is a regular CNI plugin. The second mode (when stared with "daemon" arg)
runs a DHCP client daemon. When executed as a CNI plugin, it issues
an RPC request to the daemon for actual processing. The daemon is
required since a DHCP lease needs to be maintained by periodically
renewing it. One instance of the daemon can server arbitrary number
of containers/leases.
2015-05-21 13:36:51 -07:00
ip Do not use netns as ID or for entropy 2015-05-08 15:02:23 -07:00
ns add DHCP IPAM plugin 2015-05-21 13:36:51 -07:00
plugin report errors via JSON 2015-05-08 15:07:09 -07:00
skel report errors via JSON 2015-05-08 15:07:09 -07:00