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

Add /v1/tasks to list tasks, and kill them per app and host

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      List all tasks:

      curl localhost:8080/v1/tasks
      

      Kill all tasks of app sleep on host gob:

      curl -X POST 'localhost:8080/v1/tasks/kill?host=gob&appId=sleep'
      

      Kill all tasks of app sleep on all hosts:

      curl -X POST 'localhost:8080/v1/tasks/kill?host=*&appId=sleep'
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_guenter Tobi Knaup (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: