forked from zalando-incubator/kube-ingress-aws-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This implements two new annotations in an attempt to cover the use case described in zalando-incubator#438. The `zalando.org/aws-nlb-extra-listeners` annotation accepts a JSON string that describes a list of extra listen/target ports to add to an NLB. These will be routed to pods matching a specific label in the same namespace as the ingress. As such, this depends on the AWS CNI mode feature. The `zalando.org/aws-nlb-cascade-http-to-alb` allows the NLB to "cascade" HTTP(S) traffic to another managed ALB. This was added to solve two issues while testing in a live cluster: 1. When using skipper, if it is set to only accept https traffic, it will reject requests from an NLB that is offloading the SSL and passing on http traffic, which is the current default configuration for NLBs. Some clusters or use cases may require end-to-end encryption. 2. When using SSL offloading and testing with Gitlab (the use case described in the original issue) it became confused as to the actual protocol and produced incorrect redirect links which broke authentication. This could likely be remedied in the application itself, however the issue is not present when using the ALB and redirects are handled there. Since the ALB is already present, routing the traffic directly to it is a simple, reasonable choice.
- Loading branch information
Showing
13 changed files
with
451 additions
and
129 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
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
Oops, something went wrong.