Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: update enableRdma/rdmaIsolation field for spiderMultusConfig #4301

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cyclinder
Copy link
Collaborator

@cyclinder cyclinder commented Nov 20, 2024

Thanks for contributing!

Notice:

What issue(s) does this PR fix:

Fixes #4267

Special notes for your reviewer:

  1. Remove enableRdma field for macvlan and ipvlan CNI

    Since Macvlan/IPVlan CNI works with the shared RDMA subsystem mode, which doesn't need the RDMA CNI
    plugin ensures isolation of RDMA traffic from other workloads in the system by moving
    the associated RDMA interfaces of the provided network interface to the container's
    network namespace path. this field is not currently referenced anywhere. we can remove it safely.

  2. Make the enableRdma field DEPRECATED for sriov-cni, and use rdmaIsolation instead. which keep consistant with ibsriov-cni.

  3. Update the comments of the spiderMultusConfig fields and docs.

@cyclinder cyclinder added the release/feature-new release note for new feature label Nov 20, 2024
@cyclinder cyclinder force-pushed the spidermultusconfig/api_update branch 3 times, most recently from 1e0f7cd to 4dee59d Compare November 20, 2024 08:19
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.52%. Comparing base (335952e) to head (fd7b567).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4301   +/-   ##
=======================================
  Coverage   79.51%   79.52%           
=======================================
  Files          53       53           
  Lines        6252     6255    +3     
=======================================
+ Hits         4971     4974    +3     
  Misses       1088     1088           
  Partials      193      193           
Flag Coverage Δ
unittests 79.52% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/podmanager/utils.go 74.40% <100.00%> (+0.36%) ⬆️
---- 🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/feature-new release note for new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize spidermultusconfig enableRDMA
1 participant