community icon indicating copy to clipboard operation
community copied to clipboard

design-proposal: Introduce LiveUpdate support for instance types

Open lyarwood opened this issue 1 year ago • 6 comments

What this PR does / why we need it:

The VM Rollout Strategy feature introduced in KubeVirt 1.2 now allows for specific changes made to a running VM to propagate to the VMI without a restart. This design proposal covers extending this support to cover changes made to the referenced instance type or preference of a running VM.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #

Special notes for your reviewer:

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR. Approvers are expected to review this list.

Release note:

NONE

lyarwood avatar Mar 06 '24 12:03 lyarwood

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

kubevirt-bot avatar Mar 06 '24 12:03 kubevirt-bot

/cc @vladikr

FWIW I took a look at the code and I think this should be pretty straight forward if we apply instance types and preferences before doing the comparisons. Any thoughts?

lyarwood avatar Mar 06 '24 12:03 lyarwood

https://github.com/kubevirt/kubevirt/pull/11455 WIP code here that seems to work.

lyarwood avatar Mar 06 '24 16:03 lyarwood

@lyarwood Thanks! I think it makes a lot of sense to do it now.

vladikr avatar Mar 08 '24 17:03 vladikr

@vladikr would you mind taking another look at this now it's marked as ready to review?

The PoC code is under https://github.com/kubevirt/kubevirt/pull/11455

lyarwood avatar Apr 02 '24 10:04 lyarwood

@vladikr if you have time this week could you take another look at this? The implementation PR is also about to land https://github.com/kubevirt/kubevirt/pull/11455 if you also have time.

lyarwood avatar Jun 03 '24 08:06 lyarwood

/approve Thanks, very nice! And apologies for the delay.

vladikr avatar Jun 04 '24 13:06 vladikr

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vladikr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

kubevirt-bot avatar Jun 04 '24 13:06 kubevirt-bot