Kuberntes 网络

跨主机网络实现方式:

Flannel

Flannel 通过udp或者vxlan构建overlay

网络

http://smark.freecoop.net/techstack/network/img/flannel.png

**https://github.com/coreos/flannel**

**https://github.com/coreos/flannel/blob/master/Documentation/backends.md**

源码分析

Calico

Calico 提供基于路由的跨主机方案,同时支持基于IP-in-IPVxLAN封装的overlay网络

Bare metal Test

http://smark.freecoop.net/techstack/network/img/calico-bare-metal.png

K8s Test

https://www.projectcalico.org