-
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
Document infrastructure machine templates & immutability #2557
Comments
@ncdc: Please ensure the request meets the requirements listed here. 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. |
I'd like to help with this issue. Do we anticipate this would create a new standalone doc somewhere (like in the |
It should show up on our docs site, so it'll need to go somewhere in |
Perhaps in the “Tasks” section, with a title like “Changing Infrastructure Machine Templates” or similar? |
SGTM. We can always move it around later if needed. |
/assign |
PR submitted, appreciate any feedback. |
We should document that when using infrastructure machine templates (e.g. in KubeadmControlPlane, MachineDeployment, MachineSet), these templates are generally meant to be immutable. If you want to change a field in one of these templates (e.g. AWS instance type), the typical process is to duplicate an existing template, update field(s), give it a new name, and create it in the apiserver. Once the new template has been persisted, then modify the KubeadmControlPlane/MachineDeployment/MachineSet to have it reference the new template. This will trigger a rolling update.
One caveat, is that some infrastructure providers, at their discretion, can choose to support in-place modifications of certain template fields, as long as they understand that Cluster API WILL NOT trigger a rolling update. This could be helpful if an infrastructure provider is able to do a live change for something like # of CPUs or memory.
/kind documentation
/help
/milestone Next
The text was updated successfully, but these errors were encountered: