-
Notifications
You must be signed in to change notification settings - Fork 93
Service does not create LB listeners using HTTP protocol. #208
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
Comments
Hi @sjvp, thanks for the detailed bug report. This is a bit of a tricky one. We don't set the LB to HTTP mode as Kubernetes Service type=LoadBalancer are intended to provision L4 load balancers rather than L7. That said, the lines are blurred by supporting SSL termination. We could potentially use HTTP mode when SSL termination is enabled. Thoughts @jhorwit2? |
@prydie - has this change been rolled out, as it does not appear to be working for me in IAD? |
@sjvp it's part of the next CCM release which is not yet (at time of writing) part of the managed Kubernetes offering. It should be released fairly soon (next couple of weeks at most I would assume). See https://github.com/oracle/oci-cloud-controller-manager/releases/tag/0.6.1 |
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
CCM Version: Whatever is deployed to ashburn.
Environment:
kubectl version
): 1.9.7uname -a
): UEK4.1What happened?
Public LB created using protocol TCP. No x-forwarded-proto header after TLS termination.
What you expected to happen?
Public LB created using protocol HTTP, such that x-forwarded-proto header is added after TLS termination.
How to reproduce it (as minimally and precisely as possible)?
Follow your example: tutorial-ssl.md.
To dump out http headers, instead try echoserver:
If you manually switch the LB port 443 listener to HTTP, then the expected headers appear.
Anything else we need to know?
It would also be preferrable to support RFC7239 headers, but that is a separate issue.
The text was updated successfully, but these errors were encountered: