-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Updating the dns imageTag causes KCP rolling update #9832
Comments
Sounds good to me. /triage accepted cc @fabriziopandini in case I'm missing something |
If I see correctly we can simply set the fields of both to nil before running reflect.DeepEqual:
|
Perhaps it is necessary to synchronize kubeadmConfiguration to avoid configuration differences? |
/assign Levi080513 |
Not as far as I'm aware. The configs won't be identical but the one on the Machine will be still accurately the one the Machine was created with. |
It is my fault I didn't make it clear. I mean do we need to synchronize CP Machinde kubeadmConfig CR and Machine |
I think we're fine. But I take a closer look when reviewing the PR |
/close #9857 was merged (no idea why GitHub didn't close the issue automatically, PR description looks correct) |
@sbueringer: 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. |
Detailed Description
Currently we can update the coredns version by updating
KCP.Spec.KubeadmControlPlaneSpec.kubeadmConfigSpec.clusterConfiguration.DNS.imageTag
, but this will cause a rolling update of the control plane nodes.KCP use the following method to update the coredns version, this does not require rolling updates of control plane nodes, or can we skip checking this field when checking
MachinesNeedingRollout
?cluster-api/controlplane/kubeadm/internal/controllers/controller.go
Lines 466 to 469 in 9d36ddc
Anything else you would like to add?
No response
Label(s) to be applied
/area provider/control-plane-kubeadm
The text was updated successfully, but these errors were encountered: