You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a machineSet manifest has been applied and nodes are up and running, if one modifies that file within machineSpec. for example, changing numCPUs: 2 to numCPUs: 4 then kubectl apply -f machineset.yaml, no changes occur and there are not any logs about any updates or modifies.
We should probably be able to handle changes to machineSpec, but it does bring up another question of what is the appropriate action to solve those change. Modify in place, launch new node with new settings and delete old node etc.
The text was updated successfully, but these errors were encountered:
I am checking to see if this is documented, but we strongly encourage treating everything as immutable infrastructure. If you want to change a machine characteristic, you can create a new machine with the desired changes and then delete the old one. This is handled by MachineDeployments for you - they manage multiple revisions of MachineSets in response to changes you make to a MachineDeployment.
Also worth noting, MachineSet is owned by the cluster-api repo and any behavioral changes to it need to be filed there instead of here. We may want to consider adding some validation to disallow changes to machineSet.spec.template, but again that should be filed in cluster-api, not here.
After a machineSet manifest has been applied and nodes are up and running, if one modifies that file within
machineSpec
. for example, changingnumCPUs: 2
tonumCPUs: 4
thenkubectl apply -f machineset.yaml
, no changes occur and there are not any logs about any updates or modifies.We should probably be able to handle changes to
machineSpec
, but it does bring up another question of what is the appropriate action to solve those change. Modify in place, launch new node with new settings and delete old node etc.The text was updated successfully, but these errors were encountered: