Category: Software, Database, Microsoft, Kubernetes, Docker, github, yaml, shell

In the .NET Core ecosystem, background services are called Hosted services because a single host, such as a web host or a console host, can run several such services in the background while it is alive.

Unlike HTTP probes that give you the option to respond to every probe request with the appropriate status code to indicate the health of the service, with TCP probes, you can either accept or reject a TCP connection from Kubernetes to indicate the health of the service.

You wouldn't see any error events yet because the service works as expected and the health of the service is good.

In the previous output, you can see that Kubernetes determined that the service is unhealthy because of repeated probe failure.

Related Articles