CentaurusInfra / mizar

Mizar – Experimental, High Scale and High Performance Cloud Network https://mizar.readthedocs.io
https://mizar.readthedocs.io
GNU General Public License v2.0
111 stars 50 forks source link

Override MAC address in Tx eBPF program for kubemark #661

Closed vinaykul closed 2 years ago

vinaykul commented 2 years ago

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind design /kind feature /kind bug /kind cleanup /kind documentation

What this PR does / why we need it: We use the MAC address of target host NIC for pod to pod communication. However this leads to filtering drops for kubemark case where the node is really a pod, being served by kubenet CNI. We need to keep the same behavior that as the host stack for populating destination MAC.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?: