Skip to content
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

⚠️ Refactors loadbalancer target. Changes services to extraTarget. #45

Merged
merged 2 commits into from
Jan 14, 2022

Conversation

batistein
Copy link
Contributor

What type of PR is this?
/kind api-change Adds, removes, or changes an API

What this PR does / why we need it:
This PR changes the api for controlPlaneLoadBalancer in HetznerCluster. Now the first loadbalancer target is configured by only controlPlaneEndpoint.Port (listenPort) and controlPlaneLoadbalancer.Port (destinationPort). Additional loadbalancer target could be created by using extraTargets.
Additionally we are now defaulting controlPlaneLoadbalancer algorithm, type and port.

Loadbalancer targets are now reconciled as well. Before they were not
updated after load balancer creation. They can be both deleted and
created - updating is not supported.
@batistein batistein merged commit 9ba0827 into main Jan 14, 2022
@batistein batistein deleted the feature/reconcile-lb-targets branch January 14, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants