Documentation ¶
Index ¶
Constants ¶
View Source
const ( RedirectAllMode = "redirect-all" RedirectListedMode = "redirect-listed" IptablesPreroutingChainName = "PREROUTING" IptablesOutputChainName = "OUTPUT" )
Variables ¶
Functions ¶
func ConfigureFirewall ¶
func ConfigureFirewall(firewallConfiguration FirewallConfiguration) error
ConfigureFirewall configures a pod's internal iptables to redirect all desired traffic through the proxy, allowing for the pod to join the service mesh. A lot of this logic was based on https://github.com/istio/istio/blob/e83411e/pilot/docker/prepare_proxy.sh
Types ¶
Click to show internal directories.
Click to hide internal directories.