Standalone Zookeeper v3.4.8 Swarm template
This commit is contained in:
parent
a45179fa86
commit
ef87e31380
21
swarm-templates/zookeeper/0/README.md
Normal file
21
swarm-templates/zookeeper/0/README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Zookeeper
|
||||||
|
|
||||||
|
ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. Visit the [Official Site](https://zookeeper.apache.org/).
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
This is a standalone Zookeeper deployment suitable for development and testing purposes. As such, there is not much to configure.
|
||||||
|
|
||||||
|
Once deployed, you may inspect Zookeeper information with the `zk-cli` command. If deployment was successful, you'll see something similar to this:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ zk-cli
|
||||||
|
Connecting to localhost:2181
|
||||||
|
Welcome to ZooKeeper!
|
||||||
|
JLine support is enabled
|
||||||
|
|
||||||
|
WATCHER::
|
||||||
|
|
||||||
|
WatchedEvent state:SyncConnected type:None path:null
|
||||||
|
[zk: localhost:2181(CONNECTED) 0]
|
||||||
|
```
|
4
swarm-templates/zookeeper/0/docker-compose.yml
Normal file
4
swarm-templates/zookeeper/0/docker-compose.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
zookeeper:
|
||||||
|
image: rancher/zookeeper:3.4.8-swarm
|
||||||
|
environment:
|
||||||
|
JVM_FLAGS: "-Xms${HEAP_SIZE} -Xmx${HEAP_SIZE}"
|
21
swarm-templates/zookeeper/0/rancher-compose.yml
Normal file
21
swarm-templates/zookeeper/0/rancher-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
.catalog:
|
||||||
|
name: Zookeeper
|
||||||
|
version: 3.4.8-rancher1
|
||||||
|
description: |
|
||||||
|
ZooKeeper is a centralized service for maintaining configuration information,
|
||||||
|
naming, providing distributed synchronization, and providing group services.
|
||||||
|
questions:
|
||||||
|
- variable: HEAP_SIZE
|
||||||
|
label: JVM Heap Size
|
||||||
|
description: Amount of memory allocated to the java heap
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: 512m
|
||||||
|
zookeeper:
|
||||||
|
health_check:
|
||||||
|
port: 2181
|
||||||
|
interval: 5000
|
||||||
|
unhealthy_threshold: 3
|
||||||
|
request_line: ''
|
||||||
|
healthy_threshold: 2
|
||||||
|
response_timeout: 5000
|
BIN
swarm-templates/zookeeper/catalogIcon-zookeeper.png
Normal file
BIN
swarm-templates/zookeeper/catalogIcon-zookeeper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
7
swarm-templates/zookeeper/config.yml
Normal file
7
swarm-templates/zookeeper/config.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
name: Zookeeper
|
||||||
|
description: |
|
||||||
|
Reliable distributed coordination (standalone only)
|
||||||
|
version: 3.4.8-rancher1
|
||||||
|
category: Clustering
|
||||||
|
maintainer: James Oliver <joliver@rancher.com>
|
||||||
|
minimum_rancher_version: v1.0.0-rc7
|
Loading…
x
Reference in New Issue
Block a user