Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-5293

Fixes MGI-3623 | Respect constraints for same version

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      This PR changes behavior of deploying/scaling application with constraints described in MGI-3623. Currently constraints are matched for all instances of application. This PR introduce matching constraints only with tasks in same version deployed after last configuration change. What does it mean? If application has constraints and it's configuration has changed (e.g. constraint was changed), after deployment we could end up with instances that does not match desired constraints. On the other hand after scaling application we (usually) have instances that match constraints. After my changes, deployments always end up with desired distribution of instances although after scaling, newest instances could not match that constraints, because constraints will be checked across instances with same version.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              janisz janisz
              Team:
              Orchestration Team
              Watchers:
              Marco Monaco
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: