Closed rothgar closed 2 months ago
Our advice generally is to modify https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/deployments/multus-daemonset-thick.yml#L246 to your liking.
There's a potential to provide another example deployment, or documentation. Up for ideas as well
What would be the preferred way of adding examples for this?
multis-daemonset-thick-talos.yaml
I think the first option would probably be the cleanest and easiest to maintain.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
What would you like to be added: On some Linux distros (especially ones with read only/immutable file systems) the
/run/netns
path may not be writable. This is used by the daemonset and causes an error.This causes an unintuitive error in the daemonset when trying to run a pod
because the daemonset is not able to write to that path.
Why is this needed: By changing the mount point to
/var/run/netns
or a similar writable path the daemonset works. Is there a way we could build this logic into the process to verify if it's able to write to that folder and/or mount both paths and verify which path should be written.I tested this on Talos Linux and changing the mount works.
I'm open to other ideas on how to make this seamless for users.
I don't know for sure but it's possible this also affects Amazon Bottlerocket, Fedora CoreOS, Flatcar Linux, Elemental (Rancher), Kairos. All of them have some form of read only/immutable root file systems.