weka / csi-wekafs

WekaFS Container Storage Interface (CSI) Plugin
Apache License 2.0
35 stars 6 forks source link

feat(CSI-249): optimize NFS mounter to use multiple targets #318

Closed sergeyberezansky closed 1 month ago

sergeyberezansky commented 1 month ago

TL;DR

Added a new function to determine the node's IP address based on routing to a target host.

What changed?

How to test?

  1. Run the new unit tests in utils_test.go to verify the functionality of GetNodeIpAddressByRouting.
  2. Test the NFS mount process with different network configurations to ensure it correctly determines the node's IP address.
  3. Verify that the mount process falls back to the original GetNodeIpAddress function if GetNodeIpAddressByRouting fails.

Why make this change?

This change improves the accuracy of determining the node's IP address for NFS mounts, especially in complex network environments. By using routing information to determine the IP address, we can ensure that the correct network interface is used for NFS communications, potentially resolving issues related to multi-homed systems or specific network configurations.


feat(deps): implement InterfaceGroup.GetRandomIpAddress()

feat(deps): implement InterfaceGroup.GetRandomIpAddress()

refactor(deps): allow multimount for NFS

refactor(deps): unmount underlying FS straight after publishing volume

sergeyberezansky commented 1 month ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sergeyberezansky and the rest of your teammates on Graphite Graphite

graphite-app[bot] commented 1 month ago

Graphite Automations

"Request reviewers once CI passes" took an action on this PR • (09/05/24)

1 reviewer was added to this PR based on Sergey Berezansky's automation.

sergeyberezansky commented 1 month ago

Merge activity