-
Hi, I noticed that the health/readiness check setup that existed in v7, no longer exists in v8. Has it been completely removed or is there some different way to configure them? If they were removed, then was there a reason for it? I have no problem setting it up manually, but it adds quite a few of code to maintain, probably would be nicer to have it configurable out of the box. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @slacki123 If you don't need webhook support, you can skip the web operator package. However, to provide these checks, you should just use the default ones of ASP.NET. |
Beta Was this translation helpful? Give feedback.
Ah, alright. The main point of v8 was to separate operator logic and ASP.NET logic. The ASP part produced a big overhead that was not needed if you don't use webhooks. As a side effect, this removed the possibility of healthchecks as well.
The intension is to configure the healthchecks by yourself if you need them.
It does not really matter (in my opinion at least), if you write
builder.AddHealthCheck()
with the operator builder or if you writeservices.AddHealthCheck
on the configurable services in asp.net.So since the healthchecks have no direct connection to the operator SDK per se, I think the user that implements the operator should decide if and when they want to register the checks.