Yolean/kubernetes-kafka

Info about 50kafka.yml

maykiwo opened this issue · 3 comments

Hi

Could you please the role of volume "extensions" in the 50kafka.yml ?
And what is the contents of this volume because I can't understand where it comes.
thanks for help

It lets any init container add jars to kafka's runtime classpath. See #218 for why it was added, and https://github.com/Yolean/kubernetes-kafka/blob/master/cruise-control/20kafka-broker-reporter-patch.yml for an example of how to copy a jar into it.

It lets any init container add jars to kafka's runtime classpath. See #218 for why it was added, and https://github.com/Yolean/kubernetes-kafka/blob/master/cruise-control/20kafka-broker-reporter-patch.yml for an example of how to copy a jar into it.

Hi, thanks a lot for anwser.
If i understand, the yaml file 20kafka-broker-reporter-patch.yml is a patch for kafka statefulset ?
So only need to launch this command :
kubectl --namespace kafka patch statefulset kafka --patch "$(cat cruise-control/20kafka-broker-reporter-patch.yml)

Another question what is this annotation please :
$setElementOrder/initContainers:

Thanks o lot

Both those questions are generic Kubernetes topics.