code review changes

This commit is contained in:
James Oliver
2016-11-28 12:55:06 -07:00
parent 24443a3424
commit fb7e4f8835
8 changed files with 12 additions and 81 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ zookeeper:
image: rancher/zookeeper:3.4.8
environment:
ZK_ENSEMBLE_SIZE: ${ZOOKEEPER_SCALE}
JVMFLAGS: -Xmx512m -Xms512m
JVMFLAGS: ${ZOOKEEPER_JVM_FLAGS}
CONFD_INTERVAL: 0
labels:
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
+7 -1
View File
@@ -3,7 +3,7 @@
minimum_rancher_version: v1.2.0-pre4-rc1
questions:
- variable: ZOOKEEPER_SCALE
label: Zookeeper Count
label: ZooKeeper Count
description: Number of ZooKeeper nodes to launch. Only one node is scheduled to each host.
required: true
default: 3
@@ -21,6 +21,12 @@
type: enum
options:
- 3
- variable: ZOOKEEPER_JVM_FLAGS
label: ZooKeeper JVM Flags
description: Flags to be passed to the JVM running ZooKeeper
required: false
default: -Xmx512m -Xms512m
type: string
zookeeper:
scale: ${ZOOKEEPER_SCALE}
retain_ip: true