meshnet-cni
meshnet-cni copied to clipboard
On kubernetes 1.24.0-rc0+k3s1, CNI v1.0.0 complains about meshnet version.
Haven't dug in, but:
- kubelet complains thusly:
13m Warning FailedCreatePodSandBox pod/mimesis-grafana-565fc7d86b-x4lgc (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "9268d95fc10da9222135c3d889ed602708463680572730e05415213e48e706c3": plugin type="meshnet" name="meshnet" failed (add): incompatible CNI versions; config is "1.0.0", plugin supports ["0.1.0" "0.2.0" "0.3.0" "0.3.1" "0.4.0"]
- meshnet plugin complains thusly:
time="2022-05-12T16:45:02Z" level=error msg="failed to run meshnet cni: <nil>"
- Applicable code appears to be here: https://github.com/networkop/meshnet-cni/blob/de89b2e31eb308f44ce147ddcba982e11577416c/plugin/meshnet.go#L432-L436
Workaround by editing /etc/cni/00-meshnet.conf and setting cniVersion to 0.4.0, but that's fragile on a reinstall.
yeah, this plugin is not 1.0 compliant yet. I need to look into it when I have the time. I hope there's not much to change but you never know. CNI was on 0.3.1 for so long I was hoping it would never change 😄