Custom Health Checks with load balancer

Hello!

Is there a way to add a custom health check for a service via the load balancer? something like:

option httpchk HEAD /lcl_maintenance HTTP/1.0

I know that the defaults and global section can be extended, but I don’t see how I could add such a check.

Ideas welcome, thanks!

There used to be a way in rancher <1.4 to create custom health checks in the UI and in compose. Unfortunately they seem to have disappeared and now I don’t see any new way to accomplish this?