-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more configuration flexibility to Egress for user #7041
base: main
Are you sure you want to change the base?
Add more configuration flexibility to Egress for user #7041
Conversation
Can one of the admins verify this patch? |
Added a StrictEnforcement field to the Egress spec. If this field is set to flase then if the egress node is not available due to any reason then the packet transfer or we can say the traffic will go via normal Node SNAT, while in the second case where this field is set to true, and if egress node is not available packet won't go out and traffic will be stuck because of unavailability of egress node. Signed-off-by: Pulkit Jain <pulkit.jain@broadcom.com>
83f9094
to
e25f867
Compare
Points to note:
My current implementation gives user the flexibility to decide whether to allow the traffic(best effort), or not(strict enforcement of egress policy). But In ideal case won't this be too confusing for the end user that static egress is configurable and dynamic is not, so should we keep the behaviour of both the egress consistent and make sure that when there is no node available for static egress then instead of dropping the traffic/packet we should allow the traffic to pass through the normal Node SNAT, same as in the case of dynamic egress. what's your opinion on this @tnqn @antoninbas |
|
Added a StrictEnforcement field to the Egress spec. If this field is set to flase then if the egress node is not available due to any reason then the packet transfer or we can say the traffic will go via normal Node SNAT, while in the second case where this field is set to true, and if egress node is not available packet won't go out and traffic will be stuck
because of unavailability of egress node.
Fixes #6988.