forked from d2iq-archive/marathon
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent Marathon to scale down instances to zero
When : - a deployment is stuck in an unsuccessful state (constraint impossible to satisfy) - maximumOverCapacity is used - a new deployment has been requested and cancelled The periodic scale thread removes all instances because number of instances to decom is processed as max(goalRunning-scaleTo, sentencedTasks). This patch aims to change this behaviour by using number of actual instances running instead of target number of instances (goalRunning). JIRA: MESOS-5576
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters