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
523 stars 76 forks source link

got unexpected IP in statefulset case #3543

Closed weizhoublue closed 3 months ago

weizhoublue commented 4 months ago

Spiderpool Version

latest

Bug Type

IPAM

Main CNI

any

What happened?

after changing the ippool for statefulset, the restarted pod still get old IP in the previous subnet

What did you expect to happen?

as changing the subnet, the restarted pod should get a new IP address in the new subnet

How to reproduce it (as minimally and precisely as possible)

easy

Additional Context

No response