-
Notifications
You must be signed in to change notification settings - Fork 276
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
feat: Provide IPv6 support for internal load balancer #703
Conversation
Welcome @tomkerkhove! |
Hi @tomkerkhove. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @feiskyer |
/ok-to-test |
@tomkerkhove do you test it by creating an internal ipv6 lb typed service? |
We need to use this with AKS-Engine but have not tested this because I'm new to Go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR! I did some validation and there is one additional change required on top of removing this check. I've the changes here: https://github.com/kubernetes-sigs/cloud-provider-azure/compare/master...aramase:ipv6-ilb?expand=1. Please take a look and include those as part of your PR.
- With the current cloud-controller-manager
➜ k describe svc nginx-ipv6-ilb
Name: nginx-ipv6-ilb
Namespace: default
Labels: app=nginx
Annotations: service.beta.kubernetes.io/azure-load-balancer-internal: true
Selector: app=nginx
Type: LoadBalancer
IP Family Policy: SingleStack
IP Families: IPv6
IP: fd00::f488
IPs: fd00::f488
Port: <unset> 80/TCP
TargetPort: 80/TCP
NodePort: <unset> 31468/TCP
Endpoints: [fc00::6]:80
Session Affinity: None
External Traffic Policy: Cluster
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal EnsuringLoadBalancer 1s (x2 over 6s) service-controller Ensuring load balancer
Warning SyncLoadBalancerFailed 1s (x2 over 6s) service-controller Error syncing load balancer: failed to ensure load balancer: ensure(default/nginx-ipv6-ilb): lb(ds0716-internal) - internal load balancers does not support IPv6
- With the changes from my branch
➜ k describe svc nginx-ipv6-ilb
Name: nginx-ipv6-ilb
Namespace: default
Labels: app=nginx
Annotations: service.beta.kubernetes.io/azure-load-balancer-internal: true
Selector: app=nginx
Type: LoadBalancer
IP Family Policy: SingleStack
IP Families: IPv6
IP: fd00::b523
IPs: fd00::b523
LoadBalancer Ingress: 2001:1234:5678:9abc::6
Port: <unset> 80/TCP
TargetPort: 80/TCP
NodePort: <unset> 32400/TCP
Endpoints: [fc00::7]:80
Session Affinity: None
External Traffic Policy: Cluster
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal EnsuringLoadBalancer 52m service-controller Ensuring load balancer
Normal EnsuredLoadBalancer 51m service-controller Ensured load balancer
Certainly, I'll make the changes tomorrow! |
Makes a lot of sense, thanks for suggesting @aramase! |
Signed-off-by: GitHub <[email protected]>
Did a force push because of invalid commit message - Sorry about that. |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feiskyer, tomkerkhove The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I merged this without tests since there're urgent asks for this. @nilo19 let's cherry-pick this to old releases and k/k repo. |
Thank you for merging, let me know if I can help any further! |
cherry-pick of #703 to 1.0: Provide IPv6 support for internal load balancer
cherry-pick of #703 to 0.7: Provide IPv6 support for internal load balancer
Signed-off-by: GitHub [email protected]
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #697
Special notes for your reviewer:
I'm happy to help further but I'm new to Go. I have tried to check the SDK version but from what I've heard it should be fine.
Release note: