Added from Rancher Catalog
This commit is contained in:
parent
21fc3b462c
commit
4fbb16496e
19
templates/zookeeper-rancher/0/README.md
Normal file
19
templates/zookeeper-rancher/0/README.md
Normal 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.
|
||||
|
1
templates/zookeeper-rancher/0/answer.txt
Normal file
1
templates/zookeeper-rancher/0/answer.txt
Normal file
@ -0,0 +1 @@
|
||||
scale=3
|
11
templates/zookeeper-rancher/0/docker-compose.yml
Normal file
11
templates/zookeeper-rancher/0/docker-compose.yml
Normal 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
|
18
templates/zookeeper-rancher/0/rancher-compose.yml
Normal file
18
templates/zookeeper-rancher/0/rancher-compose.yml
Normal 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
|
BIN
templates/zookeeper-rancher/catalogIcon-zookeeper.png
Normal file
BIN
templates/zookeeper-rancher/catalogIcon-zookeeper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
5
templates/zookeeper-rancher/config.yml
Normal file
5
templates/zookeeper-rancher/config.yml
Normal file
@ -0,0 +1,5 @@
|
||||
name: Apache Zookeeper
|
||||
description: |
|
||||
(Experimental) Zookeeper cluster
|
||||
version: 3.4.6-rancher1
|
||||
category: Clustering
|
Loading…
x
Reference in New Issue
Block a user