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

Create a health checks panel in the application creation/edit modal dialog

    Details

      Description

      In the application modal dialog I should be able to add and edit multiple health checks.

      We could do this in a collapsible panel like the DockerContainerSettings.

      There are 3 types of health checks with different settings (corrected, see below).

       javascript
      "healthChecks":
      [
      // HTTP
        {
          "path": "/api/health",
          "portIndex": 0,
          "protocol": "HTTP",
          "gracePeriodSeconds": 300,
          "intervalSeconds": 60,
          "timeoutSeconds": 20,
          "maxConsecutiveFailures": 3,
          "ignoreHttp1xx": false,
        },
      // TCP
        {
          "portIndex": 0,
          "protocol": "TCP",
          "gracePeriodSeconds": 300,
          "intervalSeconds": 60,
          "timeoutSeconds": 20,
          "maxConsecutiveFailures": 0
        },
      // COMMAND
        {
          "protocol": "COMMAND",
          "command": { "value": "curl -f -X GET http://$HOST:$PORT0/health" },
          "gracePeriodSeconds": 300,
          "intervalSeconds": 60,
          "timeoutSeconds": 20,
          "maxConsecutiveFailures": 3
        }
      ]
      

        Attachments

          Activity

            People

            • Assignee:
              GitHub_aldipower Felix Gertz (Inactive)
              Reporter:
              GitHub_aldipower Felix Gertz (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: