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
505 stars 72 forks source link

add link-local IP to veth0 for istio #3622

Closed weizhoublue closed 1 week ago

weizhoublue commented 1 week ago

robot cherry pick PR https://github.com/spidernet-io/spiderpool/pull/3588 from cyclinder,to branch release-v0.8, action https://github.com/spidernet-io/spiderpool/actions/runs/9609000879 , commits 13c95f09d9040352c02750cb8d8d970feea319f5

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 81.01%. Comparing base (044049e) to head (e8d6916).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3622/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/3622?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 #3622 +/- ## ============================================= Coverage 81.01% 81.01% ============================================= Files 49 49 Lines 5340 5340 ============================================= Hits 4326 4326 Misses 856 856 Partials 158 158 ``` | [Flag](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/3622/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/3622/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) | `81.01% <ø> (ø)` | | 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.
weizhoublue commented 1 week ago

@ty-dc ci

ty-dc commented 1 week ago

image

release-v0.8 ,ipv4 的情况下,获取到的 ipv6 的地址,IPv6 却获取到了 ipv4 的地址,导致 set Kind cluster 失败。