Mesos integration templates

This commit is contained in:
James Oliver
2016-04-28 09:25:51 -07:00
parent 76e6d3f101
commit 03561fa625
30 changed files with 948 additions and 0 deletions
@@ -0,0 +1,8 @@
marathon:
image: rancher/marathon:latest
environment:
MESOS_SERVICE: ${MESOS_SERVICE}
ZK_SERVICE: ${ZK_SERVICE}
MARATHON_HTTP_PORT: ${MARATHON_HTTP_PORT}
ports:
- "${MARATHON_HTTP_PORT}:${MARATHON_HTTP_PORT}"
@@ -0,0 +1,32 @@
.catalog:
name: Marathon
version: v1
description: |
Container orchestration platform for Mesos and DCOS
questions:
- variable: ZK_SERVICE
description: Choose the Zookeeper service to use.
label: Zookeeper Service
required: true
type: service
# a stack type would be nice
- variable: MESOS_SERVICE
description: Choose the Mesos stack to use.
label: Mesos Stack
required: true
type: service
- variable: MARATHON_HTTP_PORT
description: Port to expose Marathon on.
label: Marathon Port
required: true
type: int
default: 8080
marathon:
scale: 1
health_check:
port: ${MARATHON_HTTP_PORT}
interval: 3000
unhealthy_threshold: 2
healthy_threshold: 2
request_line: '/'
response_timeout: 2000