0

I have a service fabric cluster with multiple microservices, and I want to set up Azure Front Door, however it asks for a healthcheck endpoint in the backend but I don't know how I am supposed to set it up since the cluster doesn't have an endpoint for that.

Could anyone point me in the right direction?

Victor
  • 907
  • 2
  • 17
  • 42

1 Answers1

2

You could implement a health check on your service, by introducing a watchdog service. Optionally tapping into the built-in health system of SF. It could look like this:

  1. Create an ASP .NET Core Web API, and implement some health checks. For example, a custom check if your SF Service is alive (and well). Here's how to get started. Return 200 OK from the API, if the watched SF Service is running correctly.
  2. Run this Web API as an SF Service. Expose it through the Load Balancer.
  3. Use its URL as the health endpoint for your Service(s).
LoekD
  • 11,402
  • 17
  • 27