Added zookeeper package for kubernetes. Some bugfixes for cattle packages
This commit is contained in:
@@ -24,4 +24,4 @@
|
||||
|
||||
Zookeeper can now be accessed over the Rancher network.
|
||||
|
||||
Note: When you scale the cluster, zero downtime is not guaranteed..yet..
|
||||
Note: When you scale the cluster, zero downtime is expected...
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
zk:
|
||||
tty: true
|
||||
image: rawmind/alpine-zk:3.4.8-4
|
||||
image: rawmind/alpine-zk:3.4.8-16
|
||||
volumes_from:
|
||||
- zk-volume
|
||||
- zk-conf
|
||||
@@ -21,7 +21,9 @@ zk-conf:
|
||||
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.start_once: true
|
||||
image: rawmind/rancher-zk:0.3.3
|
||||
image: rawmind/rancher-zk:3.4.8-5
|
||||
volumes:
|
||||
- /opt/tools
|
||||
zk-volume:
|
||||
net: none
|
||||
labels:
|
||||
@@ -29,12 +31,10 @@ zk-volume:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.start_once: true
|
||||
environment:
|
||||
- SERVICE_USER=zookeeper
|
||||
- SERVICE_UID=10002
|
||||
- SERVICE_GROUP=zookeeper
|
||||
- SERVICE_GID=10002
|
||||
- SERVICE_VOLUME=${zk_data_dir}
|
||||
volumes:
|
||||
- ${zk_data_dir}
|
||||
volume_driver: local
|
||||
image: rawmind/alpine-volume:0.0.1-1
|
||||
image: rawmind/alpine-volume:0.0.2-1
|
||||
|
||||
@@ -4,5 +4,5 @@ description: |
|
||||
version: 3.4.8-rancher1
|
||||
category: Clustering
|
||||
maintainer: "Raul Sanchez <rawmind@gmail.com>"
|
||||
minimum_rancher_version: v0.59.0
|
||||
license:
|
||||
projectURL: https://github.com/rawmind0/alpine-zk
|
||||
license:
|
||||
Reference in New Issue
Block a user