Skip to content
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

Traefik as ingress controller for SNI based routing in kubernetes #745

Closed
hrdcdr1337 opened this issue Oct 18, 2016 · 5 comments
Closed

Comments

@hrdcdr1337
Copy link

hrdcdr1337 commented Oct 18, 2016

Is it possible? It's unclear for me. Currently the ingress definition only supports a single TLS cert, but traefik supports SNI. How can I use them together to get SNI feature in kubernetes?

@ArchiFleKs
Copy link

I don't think Traefik supports TLS inside ingress definition, someone correct me if i'm wrong. But you can mount the secret with the certificate inside traefik and use it with a configmap without specifiing TLS inside the ingress yaml file.

@ArchiFleKs
Copy link

@hrdcdr you can use let's encrypt or mount your kubernetes secret into Traefik pods and use it in your traefik.toml configmap. I wrote an article about how to use Traefik with Kubernetes and Let's encrypt if you want to check it out https://archifleks.github.io/blog/kubernetes-ingress/

You can get SNI support with ingress rules without specifing anything in traefik as long as your certificate works for the hosts.

@hrdcdr1337
Copy link
Author

@ArchiFleKs thank you for a detailed response. Your article has proved very useful :)

@tobilarscheid
Copy link

Honestly I don't really feel like this should be closed. Are there no plans on supporting the ingress tls definition in the future?

@gugahoi
Copy link

gugahoi commented Jun 29, 2017

Any updates?

@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants