[feat] Add IPv6 ingress address support for NodeBalancer services#339
Merged
[feat] Add IPv6 ingress address support for NodeBalancer services#339
Conversation
Implement a new flag `--use-ipv6-for-loadbalancers` to allow using IPv6 addresses for LoadBalancer services. This feature provides flexibility for users who prefer IPv6 networking, with the following changes: - Add `UseIPv6ForLoadBalancers` option to Linode cloud provider options - Modify `makeLoadBalancerStatus` to use IPv6 address when the flag is set - Add a new test case to verify IPv6 address selection - Update documentation to explain the new IPv6 configuration option
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #339 +/- ##
==========================================
+ Coverage 71.82% 72.13% +0.30%
==========================================
Files 14 14
Lines 2435 2462 +27
==========================================
+ Hits 1749 1776 +27
Misses 525 525
Partials 161 161 ☔ View full report in Codecov by Sentry. |
rahulait
reviewed
Mar 3, 2025
rahulait
reviewed
Mar 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement a new flag
--enable-ipv6-for-loadbalancersto allow adding IPv6 addresses for LoadBalancer services. Also, added support to enable it per service using an annotation (service.beta.kubernetes.io/linode-loadbalancer-enable-ipv6-ingress). This feature provides flexibility for users who prefer IPv6 networking, with the following changes:UseIPv6ForLoadBalancersoption to Linode cloud provider optionsmakeLoadBalancerStatusto add IPv6 address when the flag is setGeneral:
Pull Request Guidelines: