0

My marathon app definition has a uri array. One of the resource in them will be periodically updated (read replaced). I need to force marathon to fetch URI and replace the resource in sandbox.

From Marathon Resources Basic, I understand that marathon uses Mesos fetcher to do the job when app is restarted. However I have read the docs and found no way of doing the same withhout restarting the app.

One way I can think is to replace the resource in the sandbox without relying on Marathon.

Mangat Rai Modi
  • 5,397
  • 8
  • 45
  • 75

1 Answers1

1

There is no way that you can tell marathon to re-fetch your uri resources periodically without app restart. You can run a daemon in your app to fetch the uri resource and extract if needed to mesos sandbox path.

Parvez Kazi
  • 660
  • 5
  • 13