cni network model changes

This commit is contained in:
James Oliver 2016-11-23 17:50:30 -07:00
parent 2b2c8bd02f
commit 16b7c0c578
18 changed files with 151 additions and 11 deletions

View File

@ -1,6 +1,8 @@
.catalog:
name: Chronos
version: v1
minimum_rancher_version: v1.0.0
maximum_rancher_version: v1.2.0-pre3
description: |
Distributed, fault-tolerant cron
questions:

View File

@ -0,0 +1,11 @@
chronos:
image: rancher/chronos:latest
environment:
ZK_SERVICE: mesos/zookeeper
MESOS_SERVICE: mesos/mesos-master
CHRONOS_HTTP_PORT: ${CHRONOS_HTTP_PORT}
labels:
io.rancher.container.hostname_override: container_name
ports:
- "${CHRONOS_HTTP_PORT}:${CHRONOS_HTTP_PORT}"
privileged: true

View File

@ -0,0 +1,22 @@
.catalog:
name: Chronos
version: v2
minimum_rancher_version: v1.2.0-pre4-rc1
description: |
Distributed, fault-tolerant cron
questions:
- variable: CHRONOS_HTTP_PORT
description: Port to expose Chronos on.
label: Chronos Port
required: true
type: int
default: 8080
chronos:
scale: 1
health_check:
port: ${CHRONOS_HTTP_PORT}
interval: 3000
unhealthy_threshold: 2
healthy_threshold: 2
request_line: '/'
response_timeout: 2000

View File

@ -1,7 +1,6 @@
name: Chronos
description: |
Distributed, fault-tolerant cron replacement
version: v1
version: v2
category: Frameworks
maintainer: James Oliver <joliver@rancher.com>
minimum_rancher_version: v1.0.0

View File

@ -1,6 +1,8 @@
.catalog:
name: Elasticsearch
version: v1
minimum_rancher_version: v1.0.0
maximum_rancher_version: v1.2.0-pre3
description: |
You know, for search
questions:

View File

@ -0,0 +1,13 @@
scheduler:
image: rancher/elasticsearch:latest
environment:
ZK_SERVICE: mesos/zookeeper
MESOS_SERVICE: mesos/mesos-master
SCHEDULER_PORT: ${SCHEDULER_PORT}
JAVA_OPTS: -Xms256M -Xmx256M
NODE_COUNT: ${NODE_COUNT}
labels:
io.rancher.container.hostname_override: container_name
ports:
- "${SCHEDULER_PORT}:${SCHEDULER_PORT}"
privileged: true

View File

@ -0,0 +1,28 @@
.catalog:
name: Elasticsearch
version: v2
minimum_rancher_version: v1.2.0-pre4-rc1
description: |
You know, for search
questions:
- variable: SCHEDULER_PORT
description: Port to expose scheduler on.
label: Scheduler Port
required: true
type: int
default: 31100
- variable: NODE_COUNT
description: Number of Elasticsearch instances to run.
label: Node Count
required: true
type: int
default: 3
scheduler:
scale: 1
health_check:
port: ${SCHEDULER_PORT}
interval: 3000
unhealthy_threshold: 2
healthy_threshold: 2
request_line: '/'
response_timeout: 2000

View File

@ -1,7 +1,6 @@
name: Elasticsearch
description: |
You know, for search
version: v1
version: v2
category: Frameworks
maintainer: James Oliver <joliver@rancher.com>
minimum_rancher_version: v1.0.0

View File

@ -1,6 +1,8 @@
.catalog:
name: Kafka
version: v1
minimum_rancher_version: v1.0.0
maximum_rancher_version: v1.2.0-pre3
description: |
A high-throughput distributed messaging system
questions:

View File

@ -0,0 +1,11 @@
scheduler:
image: rancher/kafka:latest
environment:
ZK_SERVICE: mesos/zookeeper
MESOS_SERVICE: mesos/mesos-master
SCHEDULER_PORT: ${SCHEDULER_PORT}
labels:
io.rancher.container.hostname_override: container_name
ports:
- "${SCHEDULER_PORT}:${SCHEDULER_PORT}"
privileged: true

View File

@ -0,0 +1,21 @@
.catalog:
name: Kafka
version: v2
minimum_rancher_version: v1.2.0-pre4-rc1
description: |
A high-throughput distributed messaging system
questions:
- variable: SCHEDULER_PORT
description: Port to expose Kafka Scheduler on.
label: Scheduler Port
required: true
type: int
default: 7000
scheduler:
health_check:
port: ${SCHEDULER_PORT}
interval: 3000
unhealthy_threshold: 2
healthy_threshold: 2
request_line: '/health'
response_timeout: 2000

View File

@ -1,7 +1,6 @@
name: Kafka
description: |
A high-throughput distributed messaging system
version: v1
version: v2
category: Frameworks
maintainer: James Oliver <joliver@rancher.com>
minimum_rancher_version: v1.0.0

View File

@ -1,5 +1,7 @@
.catalog:
version: v1.1.0
minimum_rancher_version: v1.0.0
maximum_rancher_version: v1.2.0-pre3
questions:
- variable: MARATHON_HTTP_PORT
description: Port to expose Marathon on.

View File

@ -4,8 +4,6 @@ marathon:
ZK_SERVICE: Mesos/zookeeper
MESOS_SERVICE: Mesos/mesos-master
MARATHON_HTTP_PORT: ${MARATHON_HTTP_PORT}
labels:
io.rancher.container.hostname_override: container_name
ports:
- "${MARATHON_HTTP_PORT}:${MARATHON_HTTP_PORT}"
privileged: true
privileged: true

View File

@ -1,5 +1,7 @@
.catalog:
version: v1.1.1
minimum_rancher_version: v1.0.0
maximum_rancher_version: v1.2.0-pre3
questions:
- variable: MARATHON_HTTP_PORT
description: Port to expose Marathon on.

View File

@ -0,0 +1,11 @@
marathon:
image: rancher/marathon:v1.1.1
environment:
ZK_SERVICE: mesos/zookeeper
MESOS_SERVICE: mesos/mesos-master
MARATHON_HTTP_PORT: ${MARATHON_HTTP_PORT}
labels:
io.rancher.container.hostname_override: container_name
ports:
- "${MARATHON_HTTP_PORT}:${MARATHON_HTTP_PORT}"
privileged: true

View File

@ -0,0 +1,19 @@
.catalog:
version: v1.1.1-cni
minimum_rancher_version: v1.2.0-pre4-rc1
questions:
- 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

View File

@ -1,7 +1,6 @@
name: Marathon
description: |
A production-grade container orchestration platform
version: v1.1.1
version: v1.1.1-cni
category: Frameworks
maintainer: James Oliver <joliver@rancher.com>
minimum_rancher_version: v1.0.0