Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bergerx/marathon-cheatsheet
https://github.com/bergerx/marathon-cheatsheet
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bergerx/marathon-cheatsheet
- Owner: bergerx
- Created: 2015-07-07T07:06:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-07T07:09:46.000Z (over 9 years ago)
- Last Synced: 2023-03-20T10:32:14.770Z (almost 2 years ago)
- Language: Shell
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Requirements:
* 3 masters
* 3 slaves
* marathon running on masters
* chronos running on masters
* haproxy-marathon-bridge on every node
* $PUBLIC_VPN_IP:$PUBLIC_VPN_PORT routed to any node's 1194
* every node should have mesos-dns ip address in /etc/resolv.conf
* docker on every node, DOCKER_OPTS="--insecure-registry docker-registry-infra.marathon.mesos:5000"Variables:
export PUBLIC_VPN_IP=bergerx.ddns.net
export PUBLIC_VPN_PORT=443
export MESOS_NETWORK=192.168.0.1
export MESOS_NETMASK=255.255.255.0
export MASTER1_IP=192.168.0.23
export SLAVE1_IP=192.168.0.23Services:
* OK /infra/mesos-dns
* OK /infra/docker-registry
* OK /infra/openvpn
* TODO /infra/prometheus
* TODO /infra/code/build (gitlab-ci/jenkins)
* TODO /infra/log/elk (es, kibana, fluentd/logstash)
* TODO /infra/database/ (sql, nosql, c*, mongo, mysql, postgres)
* TODO /infra/cache/ (es*, redis)== /infra/mesos-dns ==
curl -sL -X POST -H 'content-type: application/json' $MASTER1_IP:8080/v2/apps [email protected] | jq .== /infra/docker-registry ==
curl -sL -X POST -H 'content-type: application/json' leader.mesos:8080/v2/apps [email protected] | jq .== /infra/openvpn ==
openvpn/init.sh
curl -sL -X POST -H 'content-type: application/json' leader.mesos:8080/v2/apps [email protected] | jq .
# now you can use openvpn/mesos.ovpn file to connect your mesos cluster