Question about external access to Redpanda cluster on Kubernetes #7889
thrashwerk
started this conversation in
General
Replies: 1 comment 5 replies
-
Hi @thrashwerk, the recommendation is to use the NodePort Service for external access. You can configure each Redpanda broker to advertise the address of its worker node and the exposed node port. We published a new doc for best practices in Kubernetes. The section about external networking explains why we recommend the NodePort Service. We also have an open pull request with a doc that goes into the details of networking in Kubernetes. Note: The how-to guides in that PR for NodePort and LoadBalancers are works in progress. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've got a Kubernetes cluster on bare-metal servers with a HAProxy LB in front of it for ingresses and NodePorts.
I've deployed a 3 node Redpanda cluster with Helm and configured the external listener.
It created a NodePort service
redpanda-external
that forwards 31092 on the nodes to 9094 on the pods.As far as I know, Kafka clients need access to all of the Kafka/Redpanda nodes but the K8s service load balances between the pods and you can't access specific pods.
So how should external clients properly connect to the Redpanda cluster on K8s?
Beta Was this translation helpful? Give feedback.
All reactions