-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Register annotations for Azure integration #45718
Comments
/triage accepted |
A full list of all annotations are listed here |
I would like to try adding these annotations |
Hi @sftim , just wanted to confirm is we have to create single PR for all 30 Annotations or we can break them in several PRs? |
Either way is fine! |
great I'll try to break the list into 2-3 PRs so that not many changes occur in one and previous review help the latest PR as well. Thanks @sftim |
For annotations that are not so qualified as "well-known" ones, there are two options in my mind:
|
They are official to Azure doesn't mean they are official to Kubernetes, right?
Well ... it depends on how we define "dual-hosting". The existing annotations are well |
We can hyperlink to https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#loadbalancer-annotations for details. However, we should still register these annotations per the policy in https://kubernetes.io/docs/reference/labels-annotations-taints/ |
No; they are official to Kubernetes because (for legacy reasons) they use a Kubernetes namespace. If we had a time machine we could go back and ask the Azure folks to use a different domain name in the annotation keys. |
(We can still encourage the Azure provider folks to use a Microsoft domain name for the post-beta annotation and label keys, but that's again a separate issue to this one). |
If there is a second thought about registering these annotations or the related format, I'd like to know about it so that I can raise a PR that is still required. |
Just checked the |
Eventually, I'd quite like [someone] to make it more like a searchable file where you type in some text and see the matching annotations. We have so many of them now that one file isn't obviously the right way to organise it all. But that's for another time. |
We cannot change history because we are not the Big Brother. The "kubernetes.io" namespace thing is not a rule strictly followed by cloud providers. For example, take a look at these:
These annotations serve the similar purposes, but they may and may not use "kubernetes.io" domain name. Given that we have so many cloud providers out there, I'm not inclined to document things for one or two providers while ignoring others. |
We should document all the in-project annotations; that would include the integration with Huawei. For the OpenStack integration, they have done the right thing so we don't need to register official annotations. This issue is about Azure, right? |
Annotations which are specific to one cloud-provider should use provider specific names. It boggles my mind that so many well-intentioned people get this wrong, but it IS somewhat messy because it is azure code that lives in a k8s org. We cannot rip those out, probably. Providers SHOULD be chided and SHOULD add better names that trigger the same meaning. As for documentation, I agree we should document them and make it clear that they are provider-specific. If anyone wants to help get the "names DB" off the ground, let me know. It's not HARD, it's just tedious. |
I agree , from reader's perspective , having a different file will serve us good and will also help organising these annotations in discussion as they are not few but 30 in number. |
Do let me know about the new required changes and where to register the annotations now. I'll continue the work then. |
Hi Any update on this discussion? Just asking so we can start working on this one.
|
Just dropping by to see if we have decided the action on this issue? |
This is a Feature Request
What would you like to be added
Update Well-Known Labels, Annotations and Taints to include each of the annotations listed in https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#loadbalancer-annotations
Why is this needed
We should register (and document) all of our official annotations, even the beta ones.
Comments
/sig cloud-provider
/language en
/lifecycle frozen
/priority backlog
it's required, but not urgent
The text was updated successfully, but these errors were encountered: