Details

      Description

      Launch a app in marathon with such configuration:

       

      ```

      },
      "labels": {},
      "ipAddress": null,
      "version": "2017-12-08T01:10:42.805Z",
      "residency": null,
      "secrets": {},
      "taskKillGracePeriodSeconds": 60,
      "unreachableStrategy": {
      "inactiveAfterSeconds": 0,
      "expungeAfterSeconds": 0
      },
      "killSelection": "YOUNGEST_FIRST",
      "ports": [
      11231,

      ```

       

      Check the mesos side, it have following 

       

      root 64722 1626 0 09:10 ? 00:00:10 mesos-docker-executor .....  --stop_timeout=0ns
      root 64779 64722 0 09:10 ? 00:00:00 docker -H unix:///var/run/docker.sock run –  .... mycontainer

       

      When kill the container from marathon side,  it would find that:  After SIGTERM send out, about 10 seconds, the SIGKILL is sent,  so the taskKillGracePeriodSeconds not work at all. (the 10 seconds, should be the default in system side)

       

      Could you help how to make grace period second work  ?

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                HackToday Kai Qiang Wu
                Team:
                ( DO NOT USE ) Orchestration Team
                Watchers:
                Kai Qiang Wu
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: