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
Remove unrelated labels from example node-local-dns yaml #17564
Conversation
Signed-off-by: Weilong Cui <cuiwl@google.com>
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.
Seems fine to me at a glance, I presume you found this while testing & the new version of these YAMLs still passes the node-local DNS GSG?
Fine by me, but I would tend to defer to k8s folks who have a better understanding of the implications of these labels.
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.
I suppose the changes are fine since the LRP guide isn't applicable for GKE clusters? IIRC, you need to enable node-local-dns as an add-on on GKE, right?
addonmanager.kubernetes.io/mode: Reconcile
If I remove this annotation, would I be able to deploy node-local-dns after the fact?
From a cursory search, it seems like both the annotations are related to add-on managers. It doesn't hurt to add a note in the commit/PR description about why we can safely remove these annotations.
Added a bit more explanation in the PR description :) |
Do we need to run CI against this PR? |
Can you add a note about this in the gsg, or has this requirement changed in recent times?
I think we can skip running CI. |
I'm not sure LRP gsg is the right place to document this though? This is only if you want GKE supported node-local-dns deployment and it does not affect the workflow described in the gsg, aka deploying upstream node-local-dns + Cilium. |
Just realized there were some accidental GKE-specific labels present in the example node-local-dns yaml. Removing them.
The two removed labels are only used by GKE's addon manager, hence it won't impact other use cases like one in the gsg. They were left there by mistake in the first place.
Signed-off-by: Weilong Cui cuiwl@google.com