New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter Marathon events that fail health checks or are not running #81
Comments
Hi @stevendborrelli, thanks for reporting :) |
Sounds good! We have a cluster here we can test on. |
Well, the go API doesn't allow to filter tasks by status, I will use healthcheck result instead... |
Created an issue gambol99/go-marathon#81 on that point ;) |
A PR has been made on go-marathon: gambol99/go-marathon#82. I will use this feature in traefik to get only running tasks. |
We've seen some 503 issues in our deployment and think it is related to the way marathon describes tasks.
For example, in https://mesosphere.github.io/marathon/docs/rest-api.html#get-v2-tasks, we can filter tasks that are staged but not running
We should also have the ability to filter tasks that fail a health check.
The text was updated successfully, but these errors were encountered: