Pass "_netdev" mount option by default for RBD/CephFS mounts #756
Closed
Description
As discussed in kubernetes [1], for network devices, addition of the _netdev
ensures that the network is not stopped prior to unmounting the network devices.
This issue is opened to discuss and fix, if we should automatically add _netdev
mount time option, and not require users to add these to the mount options in the storage class.
NOTE: This assumes passing the _netdev
option from the nodeplugin container to the host, is fixed or works
[1] Kubernetes references:
- Patch adding
_netdev
handling during bind mounts:https://github.com/kubernetes/kubernetes/pull/68626
- Current upstream issue on
_netdev
not appearing on the host mount options:https://github.com/kubernetes/kubernetes/issues/86194