-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove scheduler to use marathon instead
- Loading branch information
1 parent
dd4b31b
commit 22bd938
Showing
9 changed files
with
94 additions
and
218 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
FROM kylemanna/openvpn | ||
ENV MESOS_EGG mesos-0.24.1-py2.7-linux-x86_64.egg | ||
|
||
MAINTAINER Mesosphere <team@mesosphere.com> | ||
|
||
RUN apk -U add python py-setuptools && apk -U -t deps add curl ca-certificates \ | ||
&& curl -Lo $MESOS_EGG https://downloads.mesosphere.io/master/ubuntu/15.04/$MESOS_EGG \ | ||
&& easy_install-2.7 $MESOS_EGG && rm $MESOS_EGG && apk del deps | ||
RUN apk -U add ca-certificates python py-setuptools | ||
|
||
COPY . /dcos | ||
|
||
WORKDIR /dcos | ||
RUN ["/usr/bin/python", "setup.py", "install"] | ||
|
||
CMD ["/dcos/bin/run.bash", "server"] | ||
RUN ["/usr/bin/python", "setup.py", "install"] | ||
EXPOSE 5000 1194/tcp 1194/udp | ||
ENTRYPOINT ["/dcos/bin/run.bash" ] | ||
CMD [ "server"] |
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"id": "openvpn-admin", | ||
"cpus": 0.1, | ||
"mem": 64, | ||
"instances": 2, | ||
"args": [ "admin" ], | ||
"container": { | ||
"type": "DOCKER", | ||
"docker": { | ||
"image": "mesosphere/dcos-openvpn", | ||
"forcePullImage": true, | ||
"network": "BRIDGE", | ||
"portMappings": [{ "containerPort": 5000, "protocol": "tcp" }] | ||
} | ||
}, | ||
"healthChecks": [ | ||
{ | ||
"gracePeriodSeconds": 120, | ||
"intervalSeconds": 30, | ||
"maxConsecutiveFailures": 0, | ||
"path": "/status", | ||
"portIndex": 0, | ||
"protocol": "HTTP", | ||
"timeoutSeconds": 5 | ||
} | ||
], | ||
"ports": [], | ||
"env": { | ||
"MESOS_CONFIG": "zk://master.mesos:2181/mesos", | ||
"FRAMEWORK_NAME": "openvpn-admin" | ||
} | ||
} |
Oops, something went wrong.