While using tools like kubernetes to deploy NodeRed instances, we need to provide probe endpoints for health check.
While having NodeRed editor enabled, we can check its health with a simple http get on / endpoint. (will get the editor interface html file)
But once we disabled the editor, this health check no longer work.
Other than manually create a health check endpoint in NodeRed, is there another way to do health check while having editor disabled or not?
I also saw that, in the config file, we can use a http middleware. But after some simple test, this middleware is only applied/invoked, when an given http url exists in NodeRed as endpoint, otherwise, nothing happened.
Any suggestion ?