rancher / k3os

Purpose-built OS for Kubernetes, fully managed by Kubernetes.
https://k3os.io
Apache License 2.0
3.5k stars 396 forks source link

macvlan support #848

Open jslay88 opened 2 years ago

jslay88 commented 2 years ago

Is your feature request related to a problem? Please describe. I am trying to setup Multus CNI, but it requires macvlan. I would like to have macvlan added, or know how to add it myself.

Describe the solution you'd like Ability to bridge host network adapter to pod for mDNS/broadcast. This is usually done via macvlan.

Describe alternatives you've considered Not sure of any other alternatives for bridging host adapter within kubernetes for mDNS/broadcast beyond macvlan.

Additional context I have a service that needs to be able to attach to the same subnet as the host itself, and be able to utilize mDNS/broadcast for avahi services.

failed to setup network for sandbox "105d7c9c7cf03f543f3e5504c67c8390f2569050d7aaa32df179d3ded90a85b0": [service-stack-1/mdns-bridge-5d6b9ff4c4-5bjnc/:macvlan-conf]: error adding container to network "macvlan-conf": failed to find plugin "macvlan" in path [/opt/cni/bin /var/lib/rancher/k3s/data/<hash-here>/bin]
alexandremahdhaoui commented 11 months ago

Same here. Did you find any alternatives?

jslay88 commented 11 months ago

I left k3os due to it being abandoned. K3s or k0s on something like Debian or Arch should work, as there is macvlan support.