This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Marathon | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
Restart=on-failure | |
RestartSec=20 | |
TimeoutStartSec=0 | |
ExecStartPre=-/usr/bin/docker kill marathon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=MesosSlave | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
Restart=on-failure | |
RestartSec=20 | |
TimeoutStartSec=0 | |
ExecStartPre=-/usr/bin/docker kill mesos_slave |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=MesosMaster | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
Restart=on-failure | |
RestartSec=20 | |
TimeoutStartSec=0 | |
ExecStartPre=-/usr/bin/docker kill mesos_master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Zookeeper service | |
After=docker-flannel.service | |
ConditionFileNotEmpty=/etc/zookeeper-release | |
ConditionFileNotEmpty=/etc/zookeeper-environment | |
[Service] | |
EnvironmentFile=/etc/environment | |
EnvironmentFile=/etc/zookeeper-release | |
EnvironmentFile=/etc/zookeeper-environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$new_discovery_url='https://discovery.etcd.io/new' | |
# To automatically replace the discovery token on 'vagrant up', uncomment | |
# the lines below: | |
if File.exists?('user-data') && ARGV[0].eql?('up') | |
require 'open-uri' | |
require 'yaml' | |
token = open($new_discovery_url).read | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
--- | |
coreos: | |
etcd: | |
addr: $public_ipv4:4001 | |
peer-addr: $public_ipv4:7001 | |
discovery: https://discovery.etcd.io/ff10c58e472358739a4d57e315cc94f3 | |
fleet: | |
public-ip: $public_ipv4 |
NewerOlder