Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accessability to zk is requirement for a marathon start #1690

Merged
merged 2 commits into from May 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/marathon/build
Expand Up @@ -37,6 +37,7 @@ EnvironmentFile=-/opt/mesosphere/etc/marathon-extras
EnvironmentFile=-/var/lib/dcos/marathon/environment.ip.marathon
Environment=JAVA_HOME=${JAVA_HOME}
ExecStartPre=/bin/ping -c1 leader.mesos
ExecStartPre=/bin/ping -c1 zk-1.zk
ExecStartPre=/opt/mesosphere/bin/bootstrap dcos-marathon
ExecStartPre=/bin/bash -c 'echo "HOST_IP=\$(\$MESOS_IP_DISCOVERY_COMMAND)" > /var/lib/dcos/marathon/environment.ip.marathon'
ExecStartPre=/bin/bash -c 'echo "MARATHON_HOSTNAME=\$(\$MESOS_IP_DISCOVERY_COMMAND)" >> /var/lib/dcos/marathon/environment.ip.marathon'
Expand Down