kube -proxy 管理页面说:
--masquerade-all If using the pure iptables proxy, SNAT everything
但它确实解释得很详细。
- 我什么时候应该设置
--masquerade-all
为真? - 它解决了什么问题?
- 如果它设置会发生什么
--masquerade-all=false
?相比有什么区别--masqurade-all=true
?
kube -proxy 管理页面说:
--masquerade-all If using the pure iptables proxy, SNAT everything
但它确实解释得很详细。
--masquerade-all
为真?--masquerade-all=false
?相比有什么区别--masqurade-all=true
?如果启用此功能并将服务 IP 范围路由到您的节点,则可以从集群外部访问服务 IP。
讨论在Issue #24224中,并在PR 24429中实现。