【发布时间】:2016-07-05 10:25:50
【问题描述】:
kube-proxy有一个选项叫--proxy-mode,根据帮助信息,这个选项可以是userspace或iptables。(见下文)
# kube-proxy -h
Usage of kube-proxy:
...
--proxy-mode="": Which proxy mode to use: 'userspace' (older, stable) or 'iptables' (experimental). If blank, look at the Node object on the Kubernetes API and respect the 'net.experimental.kubernetes.io/proxy-mode' annotation if provided. Otherwise use the best-available proxy (currently userspace, but may change in future versions). If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are insufficient, this always falls back to the userspace proxy.
...
我不知道用户空间模式在这里是什么意思。
谁能告诉我kube-proxy在userspace模式下运行时的工作原理是什么?
【问题讨论】:
标签: kubernetes kube-proxy