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

With HTTP health checks delaySeconds is ignored

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: DC/OS 1.12.0
    • Component/s: Health & Readiness
    • Labels:
      None

      Description

      When I create the following app:

      {
          "id": "/http-server",
          "cmd": "/usr/bin/env python3 -m http.server $PORT0",
          "cpus": 0.5,
          "mem": 128,
          "disk": 0,
          "instances": 1,
          "healthChecks": [{
              "protocol": "HTTP",
              "path": "/bad-url",
              "timeoutSeconds": 0,
              "intervalSeconds": 1,
              "maxConsecutiveFailures": 0,
              "portIndex": 0,
              "gracePeriodSeconds": 1,
              "delaySeconds": 0
          }]
      }
      

      delaySeconds gets ignored, and set to 15 by default (see the attached picture)

      Also, it appears to be undocumented at all.

        Attachments

          Activity

            People

            • Assignee:
              ken Ken Sipe
              Reporter:
              ivanchernetsky Ivan Chernetsky
              Team:
              Orchestration Team
              Watchers:
              Ivan Chernetsky, Ken Sipe, Marco Monaco, Matthias Eichstedt
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: