How to access strimzi kafka cluster running on minikube publically? #9352
Unanswered
sleepy0owl
asked this question in
Q&A
Replies: 1 comment
-
Duplicate of https://stackoverflow.com/questions/77480906/how-to-access-strimzi-kafka-cluster-running-on-minikube-publically/77481152?noredirect=1#comment136606332_77481152? We should keep the discussion in one place. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have set up a Kafka cluster using strimzi on Minikube. The Minikube running on an EC2 machine. I have created a node port-type service to expose the Kafka cluster. However, I can not access the Kafka cluster outside of the ec2. The following is my deployment yaml file.
I used
kubectl get node minikube -o=jsonpath='{range .status.addresses[*]}{.type}{"\t"}{.address}{"\n"}'
to get node address. And node address is192.168.49.2
And used
kubectl exec kafka-cluster-kafka-0 -c kafka -n kafka -it -- cat /tmp/strimzi.properties | grep advertised\n
and got the same IP address.I even setup the security group to allow every port.
Now I want to access the Kafka cluster by using the ec2 IP address and nodeport, but I wasn't able to access the Kafka publicly.
Is there a way to expose strimzi Kafka cluster running on minukube to the internet?
Beta Was this translation helpful? Give feedback.
All reactions