Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

translator: support https-enabled l7 backends #16

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

pires
Copy link
Contributor

@pires pires commented Feb 14, 2019

This PR fixes a bug which causes EdgeLB pools to respond with 502 BAD GATEWAY whenever an HTTPS-enabled service was used as the backend for a given Ingress.

The fix works by having HTTP and HTTPS variants for each backend, prefering the HTTPS variant but using the HTTP one as backup.

Due to the way health-checks are performed (using check-ssl for the HTTPS-enabled variants and just check for HTTP-enabled ones), things work as expected - either all HTTPS variants are used or all HTTP variants are used, depending on whether the target server supports TLS or not.

@pires pires added bug Something isn't working enhancement Improvement to existing feature labels Feb 14, 2019
@pires pires self-assigned this Feb 14, 2019
@pires pires requested a review from bmcustodio February 14, 2019 18:58
@bmcustodio bmcustodio merged commit bbc0046 into master Feb 15, 2019
@bmcustodio bmcustodio deleted the pires/fix_l7_https_backends branch February 15, 2019 08:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement Improvement to existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants