-
Notifications
You must be signed in to change notification settings - Fork 735
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
external IP access #242
Comments
I think https://github.com/Yolean/kubernetes-kafka/tree/master/outside-services#outside-access-with-one-nodeport-per-broker explains why NodePort is default, and where to go from there. |
Hi @solsson, thanks for your response. I read through that but shouldn't there be an IP address that is set for external access with NodePort? Tried testing this out but to no avail:
|
What is it you want to do? Expose to outside your cluster but within your network, or to public Internet? |
I am actually curious about how to do either. I thought kubectl apply to the outside yamls with the nodePorts would allow public access to it. |
It might :) Depending on the networking that surrounds your cluster. But I hope it doesn't. You must look into Kafka authentication before you do that. |
@solsson the kops group for this should be pretty open (I'll double check). I am just trying to connect to the cluster to confirm it works which currently it doesn't appear to be exposed. It should have an external IP if the outside broker is apply correct? |
Run Then from for example a standalone VM instance or from a new cluster, run |
Hmm,
Same response for the other two. I have the access to this pretty open so network rules shouldn't be blocking anything. |
If you expose NodePort to something else, like a dummy web server pod, does it work with curl from the same test machine? With kafkacat it sometimes helps to add |
Hi folks,
I deployed the outside services:
However, the result is that there is no external IP:
Is this by design? If I want to expose access to this through kafkacat for example, what is the recommendation to do this?
I went through #13 but didn't seem to answer this question (or at least I didn't understand it).
The text was updated successfully, but these errors were encountered: