-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inbound traffic routing to Envoy
Istio creates iptables rules with chains called with uppercase letters, kubevirt adds rules to chains called with lowecase letters. Since the chain names don't make a difference, we can use uppercase letters so that when Istio adds its rules, we don't end up with PREROUTING, prerouting, OUTPUT, output, etc. Additionally, this commit adds two rules to OUTPUT and KUBEVIRT_POSTINBOUND which correctly snat and dnat inbound traffic (to the VM) that targets ports declared in the VM interface, but undeclared in the associated service. Envoy sends traffic that targets undeclared ports in a service from 127.0.0.6 instead from 127.0.0.1. Ref: istio/istio#29603 Signed-off-by: Radim Hrazdil <rhrazdil@redhat.com>
- Loading branch information
Radim Hrazdil
committed
Mar 11, 2021
1 parent
7c36627
commit bd1674a
Showing
1 changed file
with
66 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters