Closed cpredmann closed 7 years ago
Are the various check labels documented somewhere?
The check labels are currently not documented in-tree anywhere. In reading through, it seems that some of the variants of labeling don't quite cover what's needed if you are running a multiple port service either, but its a start.
If you wanted to take a stab at documenting the labelling process, it processes/parses labels from DiscoveryPorts in per-task records from the mesos state.json. Most of that logic appears in mesos/register.go @ L102ish.
This is just a minor change to parse 'check_tcp' and generate the resulting Consul TCP Health Check