Added kafka package for kubernetes. Some bugfixes for cattle packages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
broker:
|
||||
tty: true
|
||||
image: rawmind/alpine-kafka:0.10.0.0-2
|
||||
image: rawmind/alpine-kafka:0.10.0.1
|
||||
volumes_from:
|
||||
- broker-volume
|
||||
- broker-conf
|
||||
@@ -8,6 +8,7 @@ broker:
|
||||
- JVMFLAGS=-Xmx${kafka_mem}m -Xms${kafka_mem}m
|
||||
- CONFD_INTERVAL=${kafka_interval}
|
||||
- ZK_SERVICE=${zk_link}
|
||||
- KAFKA_DELETE_TOPICS=${kafka_delete_topics}
|
||||
- KAFKA_LOG_DIRS=${kafka_log_dir}
|
||||
- KAFKA_LOG_RETENTION_HOURS=${kafka_log_retention}
|
||||
- KAFKA_NUM_PARTITIONS=${kafka_num_partitions}
|
||||
@@ -24,7 +25,9 @@ broker-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-kafka:0.10.0.0
|
||||
image: rawmind/rancher-kafka:0.10.0.0-3
|
||||
volumes:
|
||||
- /opt/tools
|
||||
broker-volume:
|
||||
net: none
|
||||
labels:
|
||||
@@ -32,12 +35,10 @@ broker-volume:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.start_once: true
|
||||
environment:
|
||||
- SERVICE_USER=kafka
|
||||
- SERVICE_UID=10003
|
||||
- SERVICE_GROUP=kafka
|
||||
- SERVICE_GID=10003
|
||||
- SERVICE_VOLUME=${kafka_log_dir}
|
||||
volumes:
|
||||
- ${kafka_log_dir}
|
||||
volume_driver: local
|
||||
image: rawmind/alpine-volume:0.0.1-1
|
||||
image: rawmind/alpine-volume:0.0.2-1
|
||||
|
||||
Reference in New Issue
Block a user