Relationship between cali*(veth) and flannel.1(vxlan) in Canal CNI

9/27/2019

I'm using Canal as the CNI for my Kubernetes cluster. In worker nodes, using ip addr I can see veth interface like cali*. I know this interface will communicate with flannel.1

# ip addr
18: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state 
21: cali8e04218daee@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc

In the case of docker, I can easily find veth is bond to docker0 interface

[root@me ~]# ip -d link show veth701dc5d
15: veth701dc5d@if14: <BROADCAST,MULTICAST,UP,LOWER_UP>  ... master docker0 ...

So how can I found the relationship between cali* and flannel.1 with any Linux commands like ip

-- biao
flannel
kubernetes
project-calico

0 Answers