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
@@ -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
@@ -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