Antrea Offload
Tunnel
|
|
OVSBridge
|
|
创建 Tunnel Interface
|
|
FlowPipeline
|
|
|
|
CNI
|
|
|
|
这里连接到 OVS 的 hostIface 即为 VF Representor,也即是在 OVS 的 br-int 上的 ovsPortName :
|
|
继续看这个 hostIface 是如何挂到 OVS 的 bridge 上的,可以看见每次创建一个 Pod 都会同时创建一个 OVSPort,然后挂载上去。
|
|
同时这里还通过 InstallPodFlows 函数设置了流表规则,我们看看具体怎么操作的,这里的 interfaceName 即是 VF Representor 的名字:
|
|
这里添加的几条规则是:
|
|
参考资料
Linked Mentions
-
No backlinks found.