Standalone Zookeeper v3.4.8 Swarm template

This commit is contained in:
James Oliver 2016-03-31 14:51:14 -07:00
parent a45179fa86
commit ef87e31380
5 changed files with 53 additions and 0 deletions

View 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]
```

View File

@ -0,0 +1,4 @@
zookeeper:
image: rancher/zookeeper:3.4.8-swarm
environment:
JVM_FLAGS: "-Xms${HEAP_SIZE} -Xmx${HEAP_SIZE}"

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View 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