Optional Load Balancer (+ external IP) for bootstrap server when using type "loadbalancer"
See original GitHub issueIs 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:
- Created 3 years ago
- Comments:8 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 thetest-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 - thetest-kafka-01-kafka-external-bootstrap
is convenient for configuring the clients, but strictly speaking not needed).@scholzj please assign this issue to me, I opened a PR for this issue. thanks!