Skip to content

NodePort allocate failed since conflict occur when multiple Kafka instances with external NodePort services expose  #266

Open
@walk1ng

Description

@walk1ng

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!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions