Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Info about 50kafka.yml #245

Closed
maykiwo opened this issue Jan 30, 2019 · 3 comments
Closed

Info about 50kafka.yml #245

maykiwo opened this issue Jan 30, 2019 · 3 comments

Comments

@maykiwo
Copy link

maykiwo commented Jan 30, 2019

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

@solsson
Copy link
Contributor

solsson commented Jan 30, 2019

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.

@maykiwo
Copy link
Author

maykiwo commented Jan 31, 2019

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

@solsson
Copy link
Contributor

solsson commented Feb 2, 2019

Both those questions are generic Kubernetes topics.

@solsson solsson closed this as completed Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants