Kubernetes CNI 网络模型概览:VETH & Bridge / Overlay / BGP
序言
网络是容器通信的基础,Kubernetes 本身并未提供开箱即用的网络互通功能,只提出了两点基本要求:
- pods can communicate with all other pods on any other node without NAT
- agents on a node (e.g. system daemons, kubelet) can communicate with all pods on that node
至于如何实现这些通信能力,通常依赖于 CNI
插件来完成。