-
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
Make KubeadmConfig and the KubeadmConfigTemplate immutable #4910
Comments
We had a short discussion about this in Slack: https://kubernetes.slack.com/archives/C8TSNPY4T/p1627022324424100 Based on the discussion I would assume we could go ahead and consider this fixing a UX bug. /cc @enxebre @CecileRobertMichon @vincepri @fabriziopandini (to be sure) P.S. We could also mention this in the CAPI meeting tomorrow? |
+1 for me, let put this in agenda for tomorrow |
Can't remember if it was something the New Relic folk we're doing, though I thought that was mostly KCP no kubeadmconfigtemplates. cc @dthorsen Not sure how relevant it is for them given they're using EKS and AWSManagedMachinePool now. |
/milestone Next |
As discussed in the meeting today, we're considering this a breaking (behavioral) change. We also identified a gap in the documentation on how to properly "update" KubeadmConfigTemplates (I'll open a PR for it) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen |
/area control-plane |
If we ever want to do this for KubeadmConfigTemplate, we have to make sure it does't break SSA dry-run (just like we did for DockerMachineTemplate) |
I think this should be good to implement after #6710 got merged :-) /assign |
Please note:
|
/unassign Due to:
|
/triage accepted |
This issue has not been updated in over 1 year, and should be re-triaged. You can:
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/ /remove-triage accepted |
/priority important-longterm |
Note. |
@fabriziopandini: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed 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. |
KubeadmConfigTemplate are currently mutable but nor MachinePool nor MachineDeployments trigger rollout in case of changes assuming templates immutable. I suggest we make it immutable like all the other templates
Alsi KubeadmConfig is currently mutable, which does not make much sense given that it will processed only once right at the beginning of the machine lifecycle. Let's make this immutable as well.
Note: this is a breaking change, most probably it should wait for the next API version (unless we consider it a bug). opinions?
/kind api-change
The text was updated successfully, but these errors were encountered: