-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add optional LoadBalancer service for HA mode #433
base: main
Are you sure you want to change the base?
Conversation
Thanks for the quick review, @jasonodonnell. Ready for another round now. |
Is there any progress here? Cross-cluster replication needs a LoadBalancer, which exposes both port 8200 and 8201. I even think, this could/should be the default for the UI LoadBalancer. I would really like to see this chart support cross-cluster replication by exposing 8201 as well. Only being able to set up replication within the same K8s cluster somehow defeats the purpose of replication in the first place... |
@david-becher I actually have both 8200 and 8201 exposed by defining this in the values yaml (using v0.9.1 of the chart) server:
service:
annotations:
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
type: "LoadBalancer" That yields me three distinct LoadBalancer services all listening on 8200 and 8201:
|
Hi @bkonick Thats correct and I have used this before, but it’s creating three distinct LoadBalancers when I actually only need one LB. Maybe I have not grasped the full concept of how to use all the different LBs, but having only one LB would reduce the costs imposed by cloud resources. Maybe the chart should be adapted in a way where one can configure each of the services individually as LB or ClusterIP so that one can pick and choose the LB which is actually needed. |
We use
I think at minimum both I agree that having full control over which actually get provisioned would be helpful. |
This adds an optional
LoadBalancer
service type when operating in HA mode, specifically to address cross-cluster replication, but more widely useful as well.Still TODO: Acceptance tests.
Unit tests pass locally: