简体   繁体   English

kube-proxy`--masquerade-all = true`是什么意思?

[英]What does kube-proxy `--masquerade-all=true` mean?

The kube-proxy admin page says: kube-proxy管理员页面显示

--masquerade-all       If using the pure iptables proxy, SNAT everything

But it does explain in detail. 但是它确实做了详细解释。

  • When should I set --masquerade-all to true? 我何时应该将--masquerade-all设置为true?
  • And what problem it solves? 它解决了什么问题?
  • What could happen if it set --masquerade-all=false ? 如果设置--masquerade-all=false会发生什么? What is the difference compared to --masqurade-all=true ? --masqurade-all=true什么区别?

If you enable this and route the service IP range to your nodes then it will be possible to reach the service IPs from outside of the cluster. 如果启用此功能并将服务IP范围路由到您的节点,则可以从群集外部访问服务IP。

The discussion is in Issue #24224 and it's implemented in PR 24429 . 讨论在问题#24224中,并在PR 24429中实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM