-
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
Deprecate LoadBalancerIP with Servie LB IP annotation #2428
Deprecate LoadBalancerIP with Servie LB IP annotation #2428
Conversation
✅ Deploy Preview for kubernetes-sigs-cloud-provide-azure ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
9ea5876
to
4cf6ffc
Compare
/assign @feiskyer |
4cf6ffc
to
007b07d
Compare
/test pull-cloud-provider-azure-e2e-capz |
1 similar comment
/test pull-cloud-provider-azure-e2e-capz |
007b07d
to
4e7469c
Compare
/test pull-cloud-provider-azure-e2e-ccm-vmss-ip-lb-capz |
Requested by: So make this PR first and then the dualstack one. |
809e448
to
487c139
Compare
/retest |
var ( | ||
// There's no "service.beta.kubernetes.io/azure-load-balancer" annotation before these 2 new ones are added. | ||
// Service.Spec.LoadBalancerIP was used and it will be deprecated. | ||
ServiceAnnotationLoadBalancerIPDualStack = map[bool]string{ |
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.
Can we make them two strings? It looks strange to have variables in consts file.
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.
The intention is to make dualstack code cleaner. Since there will be a lot of isIPv6 bool
parameters for dualstack support, such map avoids if statements.
/test pull-cloud-provider-azure-e2e-capz |
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.
And this PR should close issue #1781?
487c139
to
e052e68
Compare
* Add service.beta.kubernetes.io/azure-load-balancer-ipv4 and service.beta.kubernetes.io/azure-load-balancer-ipv6 * Add an e2e test * Support retrieve Service CIDR in e2e framework Signed-off-by: Zhecheng Li <[email protected]>
e052e68
to
22b2d4c
Compare
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, lzhecheng 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 |
/test pull-cloud-provider-azure-e2e-capz |
/cherrypick release-1.25 |
/cherrypick release-1.24 |
/cherrypick release-1.23 |
/cherrypick release-1.1 |
@lzhecheng: #2428 failed to apply on top of branch "release-1.25":
In response to this:
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. |
@lzhecheng: #2428 failed to apply on top of branch "release-1.24":
In response to this:
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. |
@lzhecheng: #2428 failed to apply on top of branch "release-1.23":
In response to this:
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. |
@lzhecheng: #2428 failed to apply on top of branch "release-1.1":
In response to this:
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. |
@lzhecheng any plans to fix the cherry-picks for v1.23 through v1.25? Would be highly appreciated :) |
Thanks for reminding. Will do. |
@dimakow oh my bad memory, actually those cherry-picks have already been finished. |
Signed-off-by: Zhecheng Li [email protected]
What type of PR is this?
/kind cleanup
/kind feature
/kind deprecation
What this PR does / why we need it:
Deprecate LoadBalancerIP with Servie LB IP annotation
* Add service.beta.kubernetes.io/azure-load-balancer-ipv4
and service.beta.kubernetes.io/azure-load-balancer-ipv6
* Add an e2e test
* Support retrieve Service CIDR in e2e framework
related: #814
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: