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

Replace Cilium LoadBalancer with MetalLB #755

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bschimke95
Copy link
Contributor

This PR replaces the Cilium LoadBalancer with MetalLB in the default Canonical Kubernetes configuration. The Cilium LoadBalancer had a bunch of shortcomings, e.g. IPv6 support.

@bschimke95 bschimke95 requested a review from a team as a code owner October 20, 2024 16:17
Copy link
Member

@berkayoz berkayoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, we can merge after verifying we can reach ingress or gateway services through a loadbalancer ip assigned by metallb.

Copy link
Contributor

@louiseschmidtgen louiseschmidtgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work Ben! little suggestion

for i in range(4, 255, 4):
lb_net = ipaddress.IPv4Network(f"{str(net[0]+i)}/30", False)

contains_excluded = False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
contains_excluded = False
overlaps_with_excluded = False

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.

3 participants