cluster-api-provider-kubevirt
cluster-api-provider-kubevirt copied to clipboard
Is it possible to change the config when cluster is running , like cpu\mem?
For now , i can't change the kubevirtMachineTemplate when the cluster is running and i also try to change the kubevirtmachine , it return configured but did't change the VM and restart it , is there any way that can change it?
this is not yet supported. please feel free to open a PR for this change.
@davidvossel -- do you happen to know if there's a need or a plan to support this?
kubevirtmachine , it return configured but did't change the VM and restart it , is there any way that can change it?
For us, machineTemplates are meant to be immutable.
The procedure for changing the template would be to
- create a new template with the desired changes
- update the MachineSet or MachineDeployment to point to the new template
- Those controllers will then rollout the new changes.
more info can be found here, https://release-0-3.cluster-api.sigs.k8s.io/tasks/change-machine-template