Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2674

Healthcheck command needs to be able to execute inside task container

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.22.0
    • None
    • docker
    • None

    Description

      When using the docker containerizer, executing a healthcheck command outside of the container running the task is not ideal. In some environments, such as CoreOS, the mesos-slave may be running in its own container, so then the healthcheck command runs in a separate container from the task.

      There needs to be a way to run commands within the deployed task container, which can do the health assessment. If the container ID was available to the command (e.g., as an environment variable), this could potentially be accomplished by running a "docker exec" command for the Healthcheck. A cleaner solution, though, would cause the user-specified command to directly run within the appropriate container for the task.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              david.mckinley David McKinley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: