Kafka installation in minikube
Download the bit helm chart
Create charts folder in kafka
- cd kafka
- mkdir charts
Copy zookeeper chart into the charts folder
- copy from helm stable charts
- https://github.com/bitnami/charts/tree/master/bitnami/zookeeper
- In: kafka/charts/zookeeper
Run Helm
- helm install –name kafka .
Tests
- kubectl –namespace default exec -it kafka-0 – kafka-topics.sh –create –zookeeper kafka-zookeeper:2181 –replication-factor 1 –partitions 1 –topic test
- kubectl –namespace default exec -it kafka-0 – kafka-topics.sh –list –zookeeper kafka-zookeeper:2181
Notes
- Is not the offical chart but it’s work fine
Thanks to bitnami