Details

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

      Description

      We would like for users of Marathon to be able to define health checks for their apps. A health check could be performed using HTTP or TCP. Let's keep things simple and start by implementing only HTTP for now.

      {
        "type": "http",
        "url": "http://localhost:8090/health",
        "acceptableStatusCodes": [200],
        "timeoutSeconds": 5,
        "frequencySeconds": 20
      }
      

      The response handler should do something simple: add the health check to some collection and schedule it to be run in the background with the supplied frequency.

      Started a branch here:
      https://github.com/michaeljin/marathon/tree/health_check

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_michaeljin Michael Jin (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: