Skip to content

Commit

Permalink
Prevent Marathon to scale down instances to zero (#62)
Browse files Browse the repository at this point in the history
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
x1e9 authored Sep 30, 2022
1 parent ad23104 commit 05d2295
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 05d2295

Please sign in to comment.