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

Validation end point for apps, groups, and pods

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: Marathon 1.5.0
    • Component/s: None
    • Labels:
    • Sprint:
      Marathon Sprint 9-2017, Marathon Sprint 1.10-0, Marathon Sprint 1.10-1, Marathon Sprint 1.10-3, Marathon Sprint 1.10-4, Marathon Sprint 1.10-5

      Description

       

      • [S] Add dry run flag for update / create app definition, which (at first) returns all potential validation issues and normalized app definition.
      • [L] Determine whether offers suffice for upgrade / install
      • [S] Caching service for last seen offers / state
      • [S] Update cache each time we respond with task ops (assume success)
      • [S] Refactor matching code to provide easy synchronous interface to support dry-run resource estimation.
      • [S] Return the sufficient resource estimation in the API (synchronously perform all matches, evaluating constraints, etc.)
      • (not included in this run - don’t subtract current running tasks that would be killed by the offer as this is too complex for first implementation. IE think UpgradeStrategy min health instances 0.0 vs 1.0).
      • [L] (not doing in this sprint…) - Evaluate UpgradeStrategy and include in sufficient resources evaluation
      • [S] Enhance the CLI - `--dry-run`, just give the JSON back.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                junterstein Johannes Unterstein
                Reporter:
                marco.monaco Marco Monaco
                Team:
                Orchestration Team
                Watchers:
                Jason Gilanfarr (Inactive), Johannes Unterstein, Marco Monaco
              • Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 1 week
                  1w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified