mesosphere / marathon

Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
https://mesosphere.github.io/marathon/
Apache License 2.0
4.07k stars 845 forks source link

Download/export app configuration as JSON #3298

Closed philipnrmn closed 7 years ago

philipnrmn commented 8 years ago

It would be very useful to allow users to export their app configurations as JSON; there are a host of use cases for this from templates to moving app configurations to automated deployment to users who prefer to edit app configurations locally.

Note that this is obstructed by the lack of an app configuration retrieval endpoint. As we can only retrieve the detail of the whole app, it's currently impossible in the UI to tell a manually assigned port, either in ports or in the various container ports fields, from a randomly assigned port. However, the ticket could reasonably be delivered with this as a known issue.

ACs

leemunroe commented 8 years ago

Some ideas:

pgraemer commented 8 years ago

would love to see that!

leemunroe commented 8 years ago

image

  1. Button with "Download JSON"
  2. Do we still need the "Refresh" button or can we remove it?
philipnrmn commented 8 years ago

Looks great! +1 on removing the refresh button.

philipnrmn commented 8 years ago

Slightly related: https://github.com/mesosphere/marathon/issues/3170

meichstedt commented 7 years ago

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-1746. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.