You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi teams,
When I use Kafka operator to install multiple Kafka instances in the same k8s cluster and all Kafka with external NodePort type services exposed, the nodePorts maybe conflicted assignment here.
e.g.
kafka-1 with 3 brokers and external expose with 3 nodePorts: 30902, 30903, 30904
kafka-2 with 3 brokers and external expose with 3 nodePorts the same: 30902, 30903, 30904
that's the conflict assignment.
Check the plan status of instance, you can get the error similar as "Invalid value: 30902: provided port is already allocated".
I know there is a parameter "EXTERNAL_NODE_PORT" to specify the port, but it's a starting value and operator will count the other ports according to brokers count, it also have the chance to get the used ports then install Kafka failed.
Cloud you please help. Thanks!
The text was updated successfully, but these errors were encountered:
Hi zmalik, thanks for your quick response.
Does any way to assign the nodePorts by k8s rather than specify the starting nodePort by myself? In our system, we consider to install/deploy the Kafka instances automatically and on-demand, so it's difficulty to figure out the starting value and sequential ports are available.
@walk1ng right now we haven't implemented that. Because that would mean that for clients to connect to a newly created Kafka cluster they would need to know the dynamic nodeport that just got assigned to the services. And that would be different for each Kafka broker.
We just didn't have a use-case for users asking for dynamic nodeports and how they would use them.
Hi teams,
When I use Kafka operator to install multiple Kafka instances in the same k8s cluster and all Kafka with external NodePort type services exposed, the nodePorts maybe conflicted assignment here.
e.g.
that's the conflict assignment.
Check the plan status of instance, you can get the error similar as "Invalid value: 30902: provided port is already allocated".
I know there is a parameter "EXTERNAL_NODE_PORT" to specify the port, but it's a starting value and operator will count the other ports according to brokers count, it also have the chance to get the used ports then install Kafka failed.
Cloud you please help. Thanks!
The text was updated successfully, but these errors were encountered: