Search code examples
ruby-on-railsdeploymentmesospheremarathon

Ephemeral tasks on Marathon


Before hand let me say that I'm new to Mesosphere stack. I am trying to migrate an existing Rails application deployment to Mesos and I'm successful so far, but currently I'm on the middle of running migrations and seeds (through Rake tasks) and I don't see a pretty way to get it done since those tasks are ephemeral and they don't match quite Marathon's idea. How should I proceed?


Solution

  • You could also use Chronos to run a task "Now" that is expected to complete at some point.

    Marathon is targeted at long-running services that should always keep running.