-
Notifications
You must be signed in to change notification settings - Fork 214
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
Add an annotation for the Load Balancer service instead of the deprecated field LoadBalancerIP #371
Comments
On the I do a quick look around the code. from my perspective, both cloud-provider-gcp/providers/gce/gce_loadbalancer.go Lines 169 to 173 in efb76dc
InternalLoadBalancer related code
ExternalLoadBalancer related code
|
What is this LB annotation called? Is there information/documentation somewhere? We have similar issue in cloudprovider OpenStack |
@zetaab the annotation name is provided by the owners themself, the below is the reference for AWS. I noticed that Azure already fix this issue in the below PR, hope can help |
I've should have commented here before going to the PR. Let me clarify first to avoid unnecessary panic and confusion, the field service.Spec.LoadbalancerIP is not going to be removed until there is no risk of breaking clients, moving to annotations as soon as possible is encourage of course. The idea is to move most of the loadbalancer functionality to https://github.com/kubernetes/ingress-gce, and the annotations names is something that requires discussion between the projects. |
@aojea
|
scroll down See API changes https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-changes
See the rules https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecating-parts-of-the-api
|
cloud provider code depend on cloud provider internals, the PR you linked are done by people from those organizations, AWS or Microsoft for Azure because already reached a consensus on which annotation want to support. That is not different here, as I explained somewhere else defining an annotation creates a contract with users and need to be carefully planned |
however, this issues is legit and we should not forget about it, thanks for reporting it |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
@aojea Does this mean that enhancements to the Load Balancer functionality in GKE should be requested within Based on comments in |
we removed the confusing part from the docs kubernetes/kubernetes#117051 , this field is not going to be removed, I'm going to close this to avoid generating more confusing /close
|
@aojea: Closing this issue. 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. |
from Kubernetes 1.24 the field
LoadBalancerIP
will be deprecated, see herewe have to introduce a new LB annotation for service to avoid the service being unavailable further.
#371 (comment)
The text was updated successfully, but these errors were encountered: