#StackBounty: #curl #mesos #marathon #mesosphere #dcos Deploy Mesosphere Universe package via curl command

Bounty: 50

We can deploy the package with dcos commands like

dcos package install marathon-lb

but this requires dcos authentication with dcos auth login and since it requires to manually open the browser and paste the code , This is not feasible in automated script.

And with curl command I am able to deploy app like

curl -H "Authorization: token=token" -X POST http://azurehost/service/marathon/v2/apps -d @app.json -H "Content-type: application/json"

But how to deploy the package .
I want to deploy Marathon-lb via script. So where can I find official marathon.json i.e. application definition to deploy via curl command?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.