-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
taskKillGracePeriodSeconds doesn't work #4338
Comments
Hi @robfrut135, I retested this a couple of seconds ago and I could configure an app with Thanks |
Hi, From UI: JSON from API: Here the full JSON (remove some internal data)
I hope that info to be useful. |
What about this issue? Have you could reproduce it? |
I updated to marathon 1.3.0 release. The issue keeps on failing. |
Yes I could reproduce it that //cc @wavesoft |
@unterstein How did you end up configuring your app with |
According to this doc : https://mesosphere.github.io/marathon/docs/health-checks.html
|
Which is what he has done, is it not, @tgermain ? FWIW, this is my app definition: {
"id": "/test-app",
"cmd": null,
"cpus": 1,
"mem": 256,
"disk": 0,
"instances": 1,
"constraints": [
[
"hostname",
"GROUP_BY"
]
],
"container": {
"type": "DOCKER",
"volumes": [],
"docker": {
...
}
},
"healthChecks": [
{
"path": "/health",
"protocol": "HTTP",
"portIndex": 0,
"gracePeriodSeconds": 90,
"intervalSeconds": 60,
"timeoutSeconds": 2,
"maxConsecutiveFailures": 3,
"ignoreHttp1xx": false
}
],
"portDefinitions": [
{
"port": 10041,
"protocol": "tcp",
"labels": {}
}
],
"args": [
...
],
"taskKillGracePeriodSeconds": 10,
"backoffFactor": 2,
"upgradeStrategy": {
"minimumHealthCapacity": 1,
"maximumOverCapacity": 0.5
}
} |
It is, I misread the doc : To set the necessary grace period, add the taskKillGracePeriodSeconds label to your application definition:
It's a appDefinition key (like in json key/value) not one of the labels of you appDefinition. marathon rest API official doc is correct. A complete appDefinition example would be a great addition to the doc to disambiguate the last part. I'll do that. |
Any progress on this issue? This is becoming a problem for us. |
/cc @orlandohohmeier sounds like a UI bug? |
So, the The only solution currently is to use the API for editing, but I will check if we can back-port the fix on the 1.1.5 version of the UI. |
Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-1715. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8. |
Hi,
I'm using Mesos 1.0.1 and Marathon 1.3.0-RC6, when I put "taskKillGracePeriodSeconds", app not deploy on Marathon, not take effect. From my view, Marathon UI not recognise this field.
The text was updated successfully, but these errors were encountered: