You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For healthchecks that specify "COMMAND" protocol in marathon, the healthcheck command is executed inside the docker container. (when using docker conatinerizer). So marathon-consul should map it to a "Docker check" instead of "Script check" in consul. The former executes the command inside the docker container while the later executes it on the host.
We need to add the docker container id in the body when making the request to consul and the shell.
I'd love to support Docker Check but I think it's not possible right now. There is no mapping between Marathon Task ID and Docker container ID. Docker images could be run by Mesos Contenerizer and this check will fail so this mapping should be optional or in case Mesos Containerizer use mesos attach/exec
For healthchecks that specify "COMMAND" protocol in marathon, the healthcheck command is executed inside the docker container. (when using docker conatinerizer). So marathon-consul should map it to a "Docker check" instead of "Script check" in consul. The former executes the command inside the docker container while the later executes it on the host.
We need to add the docker container id in the body when making the request to consul and the shell.
Script Check:
Docker Check:
The text was updated successfully, but these errors were encountered: