I'm working with Marathon/Mesosphere and have enabled health checks for my app which is working fine, Marathon shows health check as Green for my app. Now that health check works, I want to use this feature further to deploy new container of my app if health check fails (say for every 10 consecutive failed health checks deploy a new container).
How can I do that?