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: Statefulset pod should change IP when recreating with a changed pool in annotation #3675

Closed weizhoublue closed 3 days ago

weizhoublue commented 3 days ago

robot cherry pick PR https://github.com/spidernet-io/spiderpool/pull/3669 from lou-lan,to branch release-v0.9, action https://github.com/spidernet-io/spiderpool/actions/runs/9710884374 , commits 2a50107c11a742109ca1c3f016243bb8fc4220e7

codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.48%. Comparing base (186418b) to head (57e283d).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3675/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/3675?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.9 #3675 +/- ## ================================================ - Coverage 81.53% 81.48% -0.05% ================================================ Files 50 50 Lines 4338 4338 ================================================ - Hits 3537 3535 -2 - Misses 640 641 +1 - Partials 161 162 +1 ``` | [Flag](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3675/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/3675/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) | `81.48% <ø> (-0.05%)` | :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. [see 1 file with indirect coverage changes](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3675/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io)
weizhoublue commented 3 days ago

kdoctor connectivity CI , ingore