mirror of
https://github.com/optim-enterprises-bv/siembol.git
synced 2025-11-01 02:47:54 +00:00
Co-authored-by: Yassin Raman <yassin@gmail.co> Co-authored-by: yasram1 <yasram1@github.com>
19 lines
879 B
Bash
19 lines
879 B
Bash
#!/bin/bash
|
|
|
|
echo "************************************************************"
|
|
echo "****************** Installing dependencies *****************"
|
|
git clone https://github.com/obsidiandynamics/kafdrop && cd kafdrop
|
|
|
|
helm upgrade -i kafdrop chart --set image.tag=3.27.0 \
|
|
--set kafka.brokerConnect=kafka-0.kafka-headless.siembol.svc.cluster.local:9092 \
|
|
--set server.servlet.contextPath="/" \
|
|
--set jvm.opts="-Xms32M -Xmx64M" --namespace=siembol
|
|
|
|
kubectl run kafka-client --restart='Never' --image docker.io/bitnami/kafka:2.8.0-debian-10-r43 --namespace siembol --command -- sleep infinity
|
|
|
|
NODE_PORT=$(kubectl get --namespace siembol -o jsonpath="{.spec.ports[0].nodePort}" services kafdrop)
|
|
NODE_IP=$(kubectl get nodes --namespace siembol -o jsonpath="{.items[0].status.addresses[0].address}")
|
|
|
|
|
|
echo "************************************************************"
|