Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Only adds one cert to load balancers on GCE #58

Closed
gitviola opened this issue Nov 16, 2016 · 7 comments
Closed

Only adds one cert to load balancers on GCE #58

gitviola opened this issue Nov 16, 2016 · 7 comments

Comments

@gitviola
Copy link

gitviola commented Nov 16, 2016

We have 3 different stages of our app. They are all running on a different domain.
Each of them already obtained a ssl certificate and saved it as a secret.

This is a screenshot showing the secrets:

screen shot 2016-11-16 at 11 50 07

But for only one of the stages the ssl cert is actually set in the LoadBalancer. All others are only available through HTTP and not HTTP&HTTPS.

Here are all SSL certs available in the LoadBalancer settings:

screen shot 2016-11-16 at 11 48 45

Any idea why it only adds one certificate to the Google Cloud Engine Network settings?

@thomas-mullaly
Copy link

If you're running all 3 stages of your app in the same cluster, you might be running into a known limitation with the GCE Ingress implementation. Specifically, the GCE Ingress doesn't support SNI, so it'll only ever configure 1 SSL certificate for the LoadBalancer. You can read more about it here: https://github.com/kubernetes/ingress/tree/master/controllers/gce#tls

@tsloughter
Copy link

Does this mean it would work if/when GCE Ingress supports SNI and nothing else would have to change?

@orian
Copy link

orian commented Feb 6, 2017

Just for notice, GCE Ingress supports SNI as today (2017.02.06).

@gitviola
Copy link
Author

gitviola commented Feb 7, 2017

works for me! 👍

@gitviola gitviola closed this as completed Feb 7, 2017
@tsloughter
Copy link

@orian @schurig I can't find any reference to GCE SNI support, where have you found this?

@orian
Copy link

orian commented Mar 12, 2017

@tsloughter I'm using Kubernetes Ingress resource and it supports multiple domains and one certificate. I cannot recall where I've found it. But I find a Ingress spec very helpful (even bit more than a webpage doc):
https://kubernetes.io/docs/api-reference/extensions/v1beta1/definitions/#_v1beta1_ingress

Kubernetes Ingress on GCE is built on top of Load Balancing. It creates a load balancer, the GCE Load Balancer supports SNI.

@tsloughter
Copy link

@orian yes, the ingress resource supports it but GCE LB does not (or at least hasn't worked for me and I can't find any docs saying it should work). The Kubernetes docs still say it is not supported: "This controller does not support SNI" from https://github.com/kubernetes/ingress/tree/master/controllers/gce

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants