AllocatorHealthStatus

edit

The health status of the allocator.

Properties

edit
connected (boolean, required)
Whether the allocator is connected
health_checks (AllocatorHealthChecks)
Checks used to determine if an allocator is healthy or not
healthy (boolean, required)
Whether the allocator is healthy, meaning it is either connected or has no instances
maintenance_mode (boolean, required)
Whether the allocator is in maintenance mode (meaning that new workload won't be assigned to it)
maintenance_mode_timestamp (string as date-time)
Timestamp when allocator last entered or exited maintenance mode

Example

edit
{
   "connected" : true,
   "health_checks" : {
      "has_instances" : true,
      "is_connected_to_zk" : true,
      "is_docker_healthy" : true
   },
   "healthy" : true,
   "maintenance_mode" : true,
   "maintenance_mode_timestamp" : "2019-01-01T00:00:00Z"
}