added kafka to rancher catalog

Update config.yml

Update config.yml

Update config.yml

Update config.yml

Update config.yml

Update fields as requested.

updated kafka catalog service. Refactor confd to be compatible with rancher-metadata v2

updated kafka catalog service. Refactor confd to be compatible with rancher-metadata v2

fix config.yml minimum_rancher_version param

Added zookeeper service and refactor kafka service

upgrade kafka version 0.9.0

consolidate down to a single template
This commit is contained in:
Raul Sanchez
2016-01-31 23:38:34 +01:00
parent a862566cd2
commit bda94b34b3
11 changed files with 187 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
# Apache Zookeeper (Experimental)
### Info:
This template creates, scale in and scale out a multinodes zk (zookeeper) cluster on top of Rancher. The configuration is generated with confd from Rancher metadata.
Cluster size are variable after deployment, and get reconfigured if refresh interval > 0.
### Usage:
Select Apache Zookeeper from catalog.
Enter the number of nodes, mem and refresh interval for the zk cluster. (set refresh data to 0 to disable dinamic config)
Note: When you scale the cluster, zero downtime is not guaranteed..yet..
Click deploy.
Zookeeper can now be accessed over the Rancher network.
+8
View File
@@ -0,0 +1,8 @@
zk:
tty: true
image: rawmind/rancher-zk:3.4.6-1
volumes:
- /opt/zk/data
environment:
- JVMFLAGS=-Xmx${zk_mem}m -Xms${zk_mem}m
- CONFD_INTERVAL=${zk_interval}
+36
View File
@@ -0,0 +1,36 @@
.catalog:
name: Zookeeper
version: 3.4.6-rancher1
description: |
(Experimental) Apache Zookeeper cluster.
minimum_rancher_version: v0.56.0
maintainer: "Raul Sanchez <rawmind@gmail.com>"
uuid: zk-0
questions:
- variable: "zk_scale"
description: "Number of zk nodes. Note: Recommended an odd number"
label: "Zk Nodes:"
required: true
default: 3
type: "int"
- variable: "zk_mem"
description: "Amount of memory to config zk."
label: "Zk Memory (mb):"
required: true
default: 512
type: "string"
- variable: "zk_interval"
description: "Interval to poll/apply configuration changes. 0 to disable, reconfiguration will be done when you restart zk nodes"
label: "Zk Interval (s):"
required: true
default: 60
type: "int"
zk:
scale: ${zk_scale}
health_check:
port: 2181
interval: 5000
unhealthy_threshold: 3
request_line: ''
healthy_threshold: 2
response_timeout: 5000
Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

+8
View File
@@ -0,0 +1,8 @@
name: Apache Zookeeper
description: |
(Experimental) Zookeeper cluster
version: 3.4.6-rancher1
category: clustering
maintainer: "Raul Sanchez <rawmind@gmail.com>"
minimum_rancher_version: v0.56.0
license: