Configure multiple Kafka controllers with same static IP and different ports - Stack Overflow

admin2025-04-18  4

I am trying to install Kafka (KRaft enabled) with bitnami helm chart. I have 3 controllers and 5 brokers. I need to expose controllers and brokers externally with same public static IP and different ports. I am able to expose controllers with different IPs and same port but not able to expose with same IP and different port.

As per helm chart of Bitnami (), ports.external attribute is int32.

Can anyone please guide me how to customize the existing helm chart to implement the requirement ?

controller:
forceExpose: true
service:
  type: LoadBalancer
  ports:
    external: 29092      
  loadBalancerClass: ""      
  loadBalancerIPs: 
    - 34.59.137.112
    - 34.46.56.43

I tried to add multiple port in external but getting exception mentioned that it is not supported.

转载请注明原文地址:http://www.anycun.com/QandA/1744968343a90173.html