# K8s Ingress SNI Howto?

**URL:** <https://community.traefik.io/t/k8s-ingress-sni-howto/3766>\
**Category:** Traefik v2\
**Tags:** kubernetes-ingress\
**Created:** [January 9, 2020, 7:47pm UTC](https://community.traefik.io/t/k8s-ingress-sni-howto/3766 "2020-01-09T19:47:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clemenko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/clemenko/32/2179_2.png) [@clemenko](https://community.traefik.io/u/clemenko)\
**Post date:** [January 9, 2020, 7:47pm UTC](https://community.traefik.io/t/k8s-ingress-sni-howto/3766/1 "2020-01-09T19:47:56Z")

</div>

Has anyone been able to get SNI working with K8s and regular Ingress. I have not been able to get SNI/TLS passthrough working.

Traefik yaml : [https://github.com/clemenko/k8s\_yaml/blob/master/traefik\_ingress\_controller.yml](https://github.com/clemenko/k8s_yaml/blob/master/traefik_ingress_controller.yml)  
Application yaml : [https://github.com/clemenko/k8s\_yaml/blob/master/stackrox\_traefik.yml](https://github.com/clemenko/k8s_yaml/blob/master/stackrox_traefik.yml)

---

<div class="post-metadata">

**Author:** ![ericsgagnon](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ericsgagnon/32/679_2.png) [@ericsgagnon](https://community.traefik.io/u/ericsgagnon)\
**Post date:** [January 9, 2020, 10:11pm UTC](https://community.traefik.io/t/k8s-ingress-sni-howto/3766/2 "2020-01-09T22:11:29Z")

</div>

I have it working with ingressroutes but haven't tried it with traditional ingresses. It looks like you're trying to use it with pass through. If that's the case, I don't think it's supposed to work. I believe SNI uses TLS which doesn't apply to pass through.

Also, it looks like HostSNI is for tcp routers so I would make sure you're using the correct router rules.
