diff options
author | Staffan Olsson <staffan@repos.se> | 2017-07-26 11:38:47 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-07-26 11:42:19 +0200 |
commit | be5a82037682d9b1ebd907a367e839ecd71aa1fa (patch) | |
tree | 38fbaf6e36acc693e7036ed5d52d8b2532bad293 /10broker-config.yml | |
parent | a2d324d509d7041642123f22b589ad4925ea1199 (diff) | |
download | kubernetes-kafka-be5a82037682d9b1ebd907a367e839ecd71aa1fa.tar.gz kubernetes-kafka-be5a82037682d9b1ebd907a367e839ecd71aa1fa.tar.bz2 kubernetes-kafka-be5a82037682d9b1ebd907a367e839ecd71aa1fa.zip |
Demonstrates how an init script can be used to ...
modify config prior to kafka start. My aim with this is to
get rid of the /bin/sh startup scripts and use bin + args directly.
Diffstat (limited to '10broker-config.yml')
-rw-r--r-- | 10broker-config.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/10broker-config.yml b/10broker-config.yml index b86a057..b6ecf1c 100644 --- a/10broker-config.yml +++ b/10broker-config.yml @@ -4,6 +4,10 @@ metadata: namespace: kafka apiVersion: v1 data: + init.sh: |- + echo "I guess I'm running in the init container" + sed -i 's/%p %m/%p -INIT-WAS-HERE- %m/' /etc/kafka/log4j.properties + server.properties: |- # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with |