Added from Rancher Catalog

This commit is contained in:
Bill Maxwell 2016-03-20 23:04:23 -07:00
parent 21fc3b462c
commit 4fbb16496e
6 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Apache Zookeeper (Experimental)
### Info:
This template creates a multinode Zookeeper cluster on top of Rancher. The configuration is generated from Rancher metadata. Cluster size is fixed after deployment. A node can not be added without losing quorem.
This image is based off of Debian.
### Usage:
Select Apache Zookeeper from catalog.
Enter in the number of nodes for the cluster. This should be an odd number.
Click deploy.
Zookeeper can now be accessed over the Rancher network.

View File

@ -0,0 +1 @@
scale=3

View File

@ -0,0 +1,11 @@
zookeeper-conf:
image: rancher/zookeeper-config:v0.2.0
volumes_from:
- zookeeper
net: "container:zookeeper"
zookeeper:
image: rancher/zookeeper:3.4.6-2
labels:
io.rancher.sidekicks: zookeeper-conf
volumes:
- /opt/rancher

View File

@ -0,0 +1,18 @@
.catalog:
name: Zookeeper
version: 3.4.6-rancher1
projectURL: https://github.com/rancher/compose-templates
maintainer: Rancher Labs
description: |
(Experimental) Apache Zookeeper cluster.
minimum_rancher_version: v0.46.0
questions:
- variable: "scale"
description: "Number of Zookeeper nodes. Note: it should be an odd number"
label: "Number of Nodes:"
required: true
default: 3
type: "int"
zookeeper:
scale: ${scale}
retain_ip: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,5 @@
name: Apache Zookeeper
description: |
(Experimental) Zookeeper cluster
version: 3.4.6-rancher1
category: Clustering