DumpAny
首页
价格
下载
网络实验室
帮助
反馈
登录
EN
K8s Service → Pod 流量路径
速度:
1.0x
💬
◀
▶ 播放
▶
↺
×
准备就绪 — 点击播放开始演示
K8s Service → Pod 流量路径
访问 Service 的 ClusterIP,包是怎么被 iptables DNAT 转发到某个 Pod 的?从节点入口到 Pod 网卡,再到响应回程。
💻
External Client
curl svc:80
K8s Node(集群内)
🔄 kube-proxy
watch Endpoints + 写 iptables
📦 Service (ClusterIP)
my-svc · 10.96.0.1:80
🧮 iptables DNAT
-A PREROUTING -j DNAT
📦 Pod A
10.244.1.2:8080
📦 Pod B
10.244.1.3:8080
CNI 网络
GET /api → 10.96.0.1:80
包进入节点 → iptables 拦下
← CDN 全链路回源
SSH 端口转发三种模式的数据流 →