spidernet-io / spiderpool

Underlay and RDMA network solution of the Kubernetes, for bare metal, VM and any public cloud
https://spidernet-io.github.io/spiderpool/
Apache License 2.0
503 stars 72 forks source link

fix: it is so slow to create a Pod requiring IP from a super big CIDR #3628

Closed lou-lan closed 1 week ago

lou-lan commented 1 week ago

git-cherry-pick #3583

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 74.60317% with 16 lines in your changes missing coverage. Please review.

Project coverage is 80.93%. Comparing base (3b51a13) to head (c60cebb).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628/graphs/tree.svg?width=650&height=150&src=pr&token=YKXY2E4Q8G&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io)](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) ```diff @@ Coverage Diff @@ ## release-v0.8 #3628 +/- ## ================================================ - Coverage 81.01% 80.93% -0.08% ================================================ Files 49 49 Lines 5340 5382 +42 ================================================ + Hits 4326 4356 +30 - Misses 856 864 +8 - Partials 158 162 +4 ``` | [Flag](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) | `80.93% <74.60%> (-0.08%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) | Coverage Δ | | |---|---|---| | [pkg/ippoolmanager/ippool\_manager.go](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628?src=pr&el=tree&filepath=pkg%2Fippoolmanager%2Fippool_manager.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io#diff-cGtnL2lwcG9vbG1hbmFnZXIvaXBwb29sX21hbmFnZXIuZ28=) | `85.88% <100.00%> (ø)` | | | [pkg/subnetmanager/subnet\_validate.go](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628?src=pr&el=tree&filepath=pkg%2Fsubnetmanager%2Fsubnet_validate.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io#diff-cGtnL3N1Ym5ldG1hbmFnZXIvc3VibmV0X3ZhbGlkYXRlLmdv) | `93.00% <100.00%> (-0.03%)` | :arrow_down: | | [pkg/subnetmanager/subnet\_manager.go](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628?src=pr&el=tree&filepath=pkg%2Fsubnetmanager%2Fsubnet_manager.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io#diff-cGtnL3N1Ym5ldG1hbmFnZXIvc3VibmV0X21hbmFnZXIuZ28=) | `41.48% <0.00%> (ø)` | | | [pkg/ip/ip.go](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3628?src=pr&el=tree&filepath=pkg%2Fip%2Fip.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io#diff-cGtnL2lwL2lwLmdv) | `87.64% <74.57%> (-5.27%)` | :arrow_down: |
ty-dc commented 1 week ago

ci problem is being processed

weizhoublue commented 1 week ago

@ty-dc upgrade ci

ty-dc commented 1 week ago

rebase #https://github.com/spidernet-io/spiderpool/pull/3636, thx.