kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel
https://kmesh.net
Apache License 2.0
361 stars 46 forks source link

workload support multi ips of Pod/Service #363

Open kwb0523 opened 1 month ago

kwb0523 commented 1 month ago

What would you like to be added: Currently, when storing the workload model subscription message to the map, only one IP has been stored. In multi IP scenarios, the map data structure and related processing logic need to be adjusted. Why is this needed: A Service or Pod in a cluster environment may have multi IPs used for communication.

hzxuzhonghu commented 1 month ago

in dual stack cluster, it can have both ipv4 and v6 address. In some special cases, more than two nics can be bound to a pod. This is a small case.