jjcollinge / traefik-on-service-fabric

Azure Service Fabric now has support for Traefik!
MIT License
50 stars 31 forks source link

How does High Availability for Traefik itself work when used with Service Fabric #78

Closed KurtSchenk closed 5 years ago

jjcollinge commented 5 years ago

@KurtSchenk it depends on how you're using Traefik. This integration has been built on the assumption that Traefik is running as a stateless guest executable in Service Fabric with an instance per node. This pattern gives you high availability across the cluster in the event of fault domain issues or instance failure. If running in Azure, the Azure Load Balancer probes will detect that a TCP connection cannot be made to port 80/443 on a node and leave it out the round-robin targets until it comes back online. We have not added support for centralized config/certificates etc across Traefik instances as this was not suitably supported in SF when we created the integration. These are often the points of coordination that may cause availability issues. There maybe some features in the latest releases of SF which would allow us to do this using the built-in state replication engine however, we have yet to investigate these properly. Does that answer your question?

KurtSchenk commented 5 years ago

Yes thank you. This confirms that you can get HA by combining Traefik with Azure Load Balancer in Azure.