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

Marathon1.3.0 create stateful app, use "residency": { "taskLostBehavior": "WAIT_FOREVER" } not pinned node

    Details

    • Sprint:
      Marathon Sprint 1.10-5, Marathon Sprint 1.10-4, Marathon Sprint 1.10-5, Marathon Sprint 1.10-6
    • Story Points:
      4

      Description

      Mesos version: 1.0.1
      app json like this:

      {
        "id": "/test",
        "cpus": 1,
        "instances": 2,
        "mem": 128,
        "cmd": "while [ true ] ; do echo 'Hello Marathon' ; sleep 5 ; done",
        "container": {
          "type": "MESOS",
          "volumes": [
            {
              "containerPath": "data",
              "mode": "RW",
              "persistent": {
                "type": "root",
                "size": 128
              }
            }
          ]
        },
        "residency": {
          "taskLostBehavior": "WAIT_FOREVER"
        },
        "upgradeStrategy": {
          "maximumOverCapacity": 0,
          "minimumHealthCapacity": 0
        }
      }
      

      if mesos-slave node down, task lost, marathon will create new task on other node

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_anywhy Yangdx
              Team:
              Orchestration Team
              Watchers:
              Adam Bordelon (Inactive), Artem Harutyunyan, egor-ryashin, Jason Gilanfarr (Inactive), Marco Monaco, Matthias Eichstedt, Matthias Veit (Inactive), Tim Harper
            • Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: