Description
it'd be nicer if there was a /leader which is http response 200 for leader, and non-200 for not.
or maybe add additional body content to /health to indicate leader or "not leader"
Right now the best solution is to parse the contents of /var for "framework_registered 1" or "scheduler_lifecycle_ACTIVE 1"
the html body of /vars is ~50k.
or if you fetch /scheduler and look for a redirect.