{"id":22624857,"url":"https://github.com/bergerx/marathon-cheatsheet","last_synced_at":"2025-10-05T12:14:05.278Z","repository":{"id":34695171,"uuid":"38670220","full_name":"bergerx/marathon-cheatsheet","owner":"bergerx","description":null,"archived":false,"fork":false,"pushed_at":"2015-07-07T07:09:46.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-18T23:31:17.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bergerx.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-07T07:06:49.000Z","updated_at":"2015-07-07T07:09:46.000Z","dependencies_parsed_at":"2022-09-14T18:00:21.796Z","dependency_job_id":null,"html_url":"https://github.com/bergerx/marathon-cheatsheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bergerx/marathon-cheatsheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergerx%2Fmarathon-cheatsheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergerx%2Fmarathon-cheatsheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergerx%2Fmarathon-cheatsheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergerx%2Fmarathon-cheatsheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bergerx","download_url":"https://codeload.github.com/bergerx/marathon-cheatsheet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergerx%2Fmarathon-cheatsheet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278452651,"owners_count":25989214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T00:18:15.454Z","updated_at":"2025-10-05T12:14:05.211Z","avatar_url":"https://github.com/bergerx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Requirements:\n* 3 masters\n* 3 slaves\n* marathon running on masters\n* chronos running on masters\n* haproxy-marathon-bridge on every node\n* $PUBLIC_VPN_IP:$PUBLIC_VPN_PORT routed to any node's 1194\n* every node should have mesos-dns ip address in /etc/resolv.conf\n* docker on every node, DOCKER_OPTS=\"--insecure-registry docker-registry-infra.marathon.mesos:5000\"\n\nVariables:\n  export PUBLIC_VPN_IP=bergerx.ddns.net\n  export PUBLIC_VPN_PORT=443\n  export MESOS_NETWORK=192.168.0.1\n  export MESOS_NETMASK=255.255.255.0\n  export MASTER1_IP=192.168.0.23\n  export SLAVE1_IP=192.168.0.23\n\n\nServices:\n* OK /infra/mesos-dns\n* OK /infra/docker-registry\n* OK /infra/openvpn\n* TODO /infra/prometheus\n* TODO /infra/code/build (gitlab-ci/jenkins)\n* TODO /infra/log/elk (es, kibana, fluentd/logstash)\n* TODO /infra/database/ (sql, nosql, c*, mongo, mysql, postgres)\n* TODO /infra/cache/ (es*, redis)\n\n\n== /infra/mesos-dns ==\ncurl -sL -X POST -H 'content-type: application/json' $MASTER1_IP:8080/v2/apps  -d@mesos-dns-marathon.json | jq .\n\n== /infra/docker-registry ==\ncurl -sL -X POST -H 'content-type: application/json' leader.mesos:8080/v2/apps -d@docker-registry-aws-marathon.json | jq .\n\n== /infra/openvpn ==\nopenvpn/init.sh\ncurl -sL -X POST -H 'content-type: application/json' leader.mesos:8080/v2/apps -d@openvpn-marathon.json | jq .\n# now you can use openvpn/mesos.ovpn file to connect your mesos cluster\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbergerx%2Fmarathon-cheatsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbergerx%2Fmarathon-cheatsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbergerx%2Fmarathon-cheatsheet/lists"}