I have built a ASP.NET Core Worker Service (it processes messages off a queue) that is running on kubernetes. Since it is a background service, it currently does not have any HTTP endpoints. Now I would like to add a health/liveness endpoint for k8s to it - ideally leveraging the .NET Core standard health checks.
So my question is: Is there a way to expose those health checks without adding the overhead of HTTP endpoints in a way that k8s can use them (TCP or generic command)? Any pointers to examples would be great! thanks!