-
Hi Team, I want to express my appreciation for the work on the Aspire project. I am trying the sample project and learning from the doc. But I still have some questions about the Asprie, mainly focus on service discovery and health check. The following is some of my understanding and questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes. It uses the built in primitives and puts them together in a way that provides an end to end opinionated experience.
health is about getting the health status of a service and all of its dependencies. This can be mapped to a readiness probe in Kubernetes. The alive endpoint tells you if the service itself is healthy irrespective of its dependencies (can you even reply to a simple http request?). This can be mapped to a liveness probe in Kubernetes.
Service discovery is being added to Microsoft.Extensions. It doesn’t do any health checking today. They are unrelated subsystems. So yes, you’d need to customize yourself. |
Beta Was this translation helpful? Give feedback.
Yes. It uses the built in primitives and puts them together in a way that provides an end to end opinionated experience.
health is about getting the health status of a service and all of its dependencies. This can be mapped to a readiness probe in Kubernetes. The alive endpoint tells you if the service itself is healthy irrespective o…