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

Multiple Mesos COMMAND health checks should throw a validation error

    Details

      Description

      Configuring Multiple COMMAND health checks for an application e.g.:

      [
          {
            "protocol": "COMMAND",
            "command": {
              "value": "true"
            }
          },
          {
            "protocol": "COMMAND",
            "command": {
              "value": "false"
            }
          }
      ]
      

      is accepted. All specified command health checks after the first one are silently dropped, because Mesos only allows one CMD health check. This should throw a validation error in Marathon.

      Since it is very likely that people have configurations containing multiple health check, adding this validation rule implies a migration that removes invalid additional Mesos CMD health checks from existing app definitions (need to check whether this affects pods as well).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                adukhovniy Aleksey Dukhovniy
                Team:
                Orchestration Team
                Watchers:
                Aleksey Dukhovniy, Matthias Eichstedt
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: