A probe is not a page: it is a binary question from something that cannot read, and the answer that
matters is the status code. 200 means route traffic here, 503 means stop. The body exists for the
person who follows up, and names which dependency said no.
Registering a check is how a module or an application makes that answer mean something. Without any,
the endpoint still answers 200, which is the truthful answer to "is this process up and routing":
it is, and nothing has claimed otherwise. That is a liveness probe, and it is worth having on its own.
Answer the question a load balancer asks.
A probe is not a page: it is a binary question from something that cannot read, and the answer that matters is the status code.
200means route traffic here,503means stop. The body exists for the person who follows up, and names which dependency said no.Registering a check is how a module or an application makes that answer mean something. Without any, the endpoint still answers
200, which is the truthful answer to "is this process up and routing": it is, and nothing has claimed otherwise. That is a liveness probe, and it is worth having on its own.