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

TCP routes support (with TLS) #276

Open
shipperizer opened this issue Nov 8, 2023 · 2 comments
Open

TCP routes support (with TLS) #276

shipperizer opened this issue Nov 8, 2023 · 2 comments

Comments

@shipperizer
Copy link

shipperizer commented Nov 8, 2023

Enhancement Proposal

Traefik supports TCP routes off the shelf, it would be good to get support in the charm via a new relation or the existing one

Extended documentation is available here

Brief example below:

tcp:
  routers:
    glauth-router:
      rule: "HostSNI(`glauth.svc.cluster.local`)"
      service: glauth
      # will terminate the TLS request by default
      tls: {}

our use case is to support an application that natively doesn't do TCP over TLS, so we need something in front of it that allows that

this application is GLAuth, we are working on the charm but we are able to explain how to spin that up and use it for testing, GLAuth exposes an LDAP server (TCP protocol) and can be tested via ldap* cli tools


-


Requirements

  • traefik should be able to deal with multiple TCP routes created
  • traefik should be able to serve a TCP connection protected by a TLS certificate (using current traefik relations with CAs)
@sed-i
Copy link
Contributor

sed-i commented Dec 14, 2023

You probably already know that the charm supports tcp, but we certainly need to look into the tls part.

@shipperizer
Copy link
Author

other thing that would be useful (only for our glauth) would be having a TCP ingress per app, not only per unit

GLAuth offers LDAP (so TCP) backed by a dB, but it s technically stateless which would allow us to scale it nicely if only we could load balance it behind an ingress

separate, and unique, requirement as I'm not aware of other TCP applications that can be loadbalanced in the same way (or at least the one I know)

@dstathis dstathis added Checked and removed Checked labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants