containous / traefik-extra-service-fabric

Traefik extra: Service Fabric Provider
Apache License 2.0
12 stars 14 forks source link

Support for Traefik v2 #58

Open JustinKaffenberger opened 4 years ago

JustinKaffenberger commented 4 years ago

Anyone want to take a stab at adding Support for Traefik v2? I would but am a total Go novice.

JamesInDenver commented 4 years ago

@JustinKaffenberger Did you find a way to use Traefik v2 with Service Fabric? There doesn't seem to be much appetite for implementing a v2 provider by either the Service Fabric or Containous teams.

Jaans commented 4 years ago

FWIW, we are using Traefik v2 with Service Fabric very successfully. Obviously not using a SF provider, but what we are doing is basically generating (and continuously updating) a YAML dynamic configuration that the Traefik v2 File provider uses.

The File provider is automatically read by Traefik, so when we update the file with changes from the cluster and then Traefik picks it up quickly and effectively. Works well for us and allows us to achieve a couple of scenarios' we couldn't do before with the Traefik v1 SF Provider.

Service Fabric API exposes a lot of information about the cluster, nodes, services and endpoints - everything you need to populate the YAML configuration file for Traefik.

The downside is of course having to go and write this stuff, but for us it was well worth it.

Hth.

JamesInDenver commented 4 years ago

Thanks @Jaans, that's really good to know. I don't suppose anything you've built is available on GitHub? Or if you'd be willing to share (even non-functional) redacted code to help us short-circuit that effort somewhat?

MonDeveloper commented 4 years ago

Hi @Jaans , I'm very interested into having more details (code, pseudocode, any) about your implementation, there is a way to obtains it?

Thanks in advance, mM

JustinKaffenberger commented 4 years ago

Thanks @Jaans , this is now our current plan so its good to hear that its been successful for you. We are currently working on overhauling our Traefik deployments from Guest Exe to an actual SF service which runs traefik.exe, as first steps. This gives us more flexibility to prepare certificates and configuration prior to running Traefik. I will keep this thread updated as we progress.

vgantonio commented 3 years ago

Is there any update on when the Traefik Service Fabric provider will support v2?

I have a need to setup the passthrough option for TLS so the requests can be forwarded "as-is" to the back end services, however this feature is only available in Traefik V2, but the Traefik Service Fabric Provider only supports Traefik v1x.

Aionsphere commented 3 years ago

Is there any update on when the Traefik Service Fabric provider will support v2?

I have a need to setup the passthrough option for TLS so the requests can be forwarded "as-is" to the back end services, however this feature is only available in Traefik V2, but the Traefik Service Fabric Provider only supports Traefik v1x.

+1