I execute git clone https://github.com/mesosphere/marathon.git
to download the latest marathon,And I had known from marathon doc that we can set the property of 'healthChecks' to Monitor the job.
but when i start marathon , i can't find the property 'healthChecks' anywhere,
And i am sure that the marathon i had download is the latest.
anybody could tell me how to use the 'healthChecks' ?
this is the marathon doc for 'healthChecks'
And you can see it on http://mesosphere.github.io/marathon/docs/rest-api.html#post-v2-apps
"healthChecks": [
{
"protocol": "HTTP",
"path": "/health",
"gracePeriodSeconds": 3,
"intervalSeconds": 10,
"portIndex": 0,
"timeoutSeconds": 10,
"maxConsecutiveFailures": 3
},
{
"protocol": "TCP",
"gracePeriodSeconds": 3,
"intervalSeconds": 5,
"portIndex": 1,
"timeoutSeconds": 5,
"maxConsecutiveFailures": 3
},
{
"protocol": "COMMAND",
"command": { "value": "curl -f -X GET http://$HOST:$PORT0/health" },
"maxConsecutiveFailures": 3
}
],