Raúl Sánchez 115e3ee471 Merge pull request #522 from rawmind0/master
Updated kafka to 0.10.2.1 and fix for zookeeper. cattle and k8s
2017-06-09 18:05:14 +02:00
..
2017-05-24 21:09:15 -07:00

Apache Zookeeper (Experimental)

Info:

This template creates, scale in and scale out a multinodes zk (zookeeper) cluster on top of k8s. The configuration is generated with confd watching k8s metadata. Cluster size are variable after deployment, and get reconfigured if you scale.

The services generates ZKID's (saving them as pod labels) and start the zookeeper cluster.

Usage:

Select Apache Zookeeper from catalog.

Change the following zookeeper default parameters, if you need:

  • zk_name="zookeeper" # Name of the k8s rc and service.
  • zk_namespace="default" # Name of the k8s namespace
  • zk_scale="3" # Number of zk replicas
  • zk_mem="512" # Mem to configure zk.
  • zk_data_dir="/opt/zk/data" # Zk dataDir param value
  • zk_init_limit="10" # zk initLimit param value
  • zk_max_client_cxns="500" # zk maxClientCnxns param value
  • zk_sync_limit="5" # zk syncLimit param value
  • zk_tick_time="2000" # zk tickTime param value

Click deploy.

Zookeeper can now be accessed over the Rancher network.

Testing Feature: When you scale the cluster, zero downtime is expected...