Health Checks

A service SHOULD provide health checks to ensure that the Platform knows of it's current state. Services are consistently down will be terminated and restarted.

Sample

health:
  interval: 30s
  timeout: 30s
  retries: 3
  command: ["curl", "-f", "http://localhost:8080"]
FieldDescription
intervalHow often to execute the health check command. This defaults to 30s
timeoutThe timeout to wait for before the assuming that the command command failed. This defaults to 30s
retriesThe number of occurrences for the command command to fail continuously before the service is terminated. This defaults to 3
commandRequired. The command to execute for checking the health of the service