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
539 stars 75 forks source link

automatically synchronize IP with IAAS of AWS #3341

Open weizhoublue opened 7 months ago

weizhoublue commented 7 months ago

What would you like to be added?

refer to https://github.com/aws-samples/eks-automated-ipmgmt-multus-pods

Why is this needed?

No response

How to implement it (if possible)?

No response

Additional context

No response

Icarus9913 commented 7 months ago

以上链接项目思路就是,通过sidecar container,获取当前Pod内network NS的IP地址,并请求AWS SDK向IaaS层交互让其绑定给网卡。

因此可以直接把这个动作放到spiderpool里CNI这一层面实现,调用一下AWS Golang SDK即可