Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adyatlov/d4e83b3f5ebd668017f4 to your computer and use it in GitHub Desktop.
Save adyatlov/d4e83b3f5ebd668017f4 to your computer and use it in GitHub Desktop.
Install the latest marathon
===========================
1) Create DCOS on CCM from testing/continuous channel
2) Install CLI: run the command from the DCOS dashboard
3) Install Marathon:
a) dcos marathon app add marathon-demo.json (https://gist.github.com/adyatlov/b5b89a57cecb89c0af44)
b) dcos config set marathon.url http://<master_ip>/service/marathon-demo/
4) Install Postgress:
dcos marathon app add postgres.json (https://gist.github.com/adyatlov/ae153fb5b48ce64ad752)
Or install MySQL:
dcos marathon app add mysql.json (https://gist.github.com/adyatlov/cc0d967d349ce5818bf0f6703ac6da29)
Uninstall Marathon
==================
1) To get <framework-id>: dcos service
2) http --form POST http://<master_ip>/mesos/master/teardown frameworkId=<framework-id>
3) dcos config unset marathon.url
4) dcos marathon app remove marathon-demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment