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 universe package ?
I want to deploy Marathon-lb via curl or script
. So where can I find official marathon.json i.e. application definition to deploy via curl command?