-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix return path of NodePort traffic when using Calico network policy.
Previously, commit 2cce7de fixed the return path of NodePort traffic when pods were on secondary ENIs. However when using aws-vpc-cni together with Calico network policy, the fix that was introduced in 2cce7de does not work, as Calico terminates the mangle table rule traversal early and the CONNMARK rules put by AWS VPC CNI are never reached. This PR configures Felix (part of calico) to RETURN inside iptables mangle table instead of ACCEPT, so that the rules that existed in the mangle table after the calico ones get a chance to be executed.
- Loading branch information
Igor Katson
committed
Dec 8, 2018
1 parent
7216b94
commit fd086ca
Showing
2 changed files
with
16 additions
and
0 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
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