question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optional Load Balancer (+ external IP) for bootstrap server when using type "loadbalancer"

See original GitHub issue

Is your feature request related to a problem? Please describe. When using type loadbalancer for a Kafka listener, n+1 Load Balancers are created in Kubernetes, n for the amount of brokers and 1 for the bootstrap server.

Describe the solution you’d like The bootstrap server is only for convenience (as discussed here), which may not be always necessary. Providing a flag in the configuration for the loadbalancer type listener stating whether to provision a Load Balancer for the bootstrap server would be a nice addition.

Describe alternatives you’ve considered The only alternative now is to always provision a bootstrap Load Balancer service.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
scholzjcommented, Dec 11, 2021

I think the name will be a bit different depending on the listener name in the Kafka CR. But yes, the regular test-kafka-01-kafka-bootstrap service should be kept -> only the test-kafka-01-kafka-external-bootstrap would be basically not created if the user does not want to use it (the motivation is usually to save costs - the test-kafka-01-kafka-external-bootstrap is convenient for configuring the clients, but strictly speaking not needed).

0reactions
yyang48commented, Jan 12, 2022

@scholzj please assign this issue to me, I opened a PR for this issue. thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure Load Balancers to Access Confluent Components
External access to Kafka using load balancers¶. When a client accesses a Kafka cluster, it first connects to the bootstrap server to get...
Read more >
Accessing Kafka: Part 4 - Load Balancers - Strimzi
This post will explain how to use load balancers in public cloud environments ... name: external port: 9094 type: loadbalancer tls: true #...
Read more >
Create an External Load Balancer - Kubernetes
This provides an externally-accessible IP address that sends traffic to the correct port on your cluster nodes, provided your cluster runs in a ......
Read more >
Configuring ExternalIPs for services - OpenShift Documentation
A service configured with an ExternalIP functions similarly to a service with type=NodePort , allowing you to direct traffic to a local node...
Read more >
Expose the Kafka cluster to external applications - Banzai Cloud
(Optional) For external access through a static URL instead of the load balancer's public IP, specify the URL in the hostnameOverride field of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found