feat(vm): implement CPU/memory hotplug via in-place resize#2247
Open
yaroslavborbat wants to merge 3 commits into
Open
feat(vm): implement CPU/memory hotplug via in-place resize#2247yaroslavborbat wants to merge 3 commits into
yaroslavborbat wants to merge 3 commits into
Conversation
44b0f66 to
bd6a872
Compare
37ff763 to
2a570e9
Compare
d7ec81d to
ff64a11
Compare
Signed-off-by: Yaroslav Borbat <yaroslav.borbat@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
0101e90 to
d511746
Compare
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Contributor
|
Workflow has started. The target step completed with status: failure. |
Contributor
|
Workflow has started. The target step completed with status: failure. |
Contributor
|
Workflow has started. The target step completed with status: failure. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implement hotplug CPU/Memory via in-place resize (without live migration).
New alpha feature gate added:
HotplugCPUAndMemoryWithInPlaceResize— CPU and memory hotplug using in-place pod resizeKubeVirt patched to expose the in-place resize capability. The
workload-updatercontroller updated with a newhotplughandler that applies in-place resize when the feature gate is enabled. CPU/memory comparators updated to detect spec changes and trigger reconciliation accordingly.deckhouse/3p-kubevirt#103
Why do we need it, and what problem does it solve?
The existing hotplug via live migration requires a second node and causes VM downtime during migration. In-place resize allows changing vCPU count and memory of a running VM without migration, reducing overhead and enabling hotplug in single-node environments.
What is the expected result?
HotplugCPUAndMemoryWithInPlaceResizefeature gate.VirtualMachinespec to change CPU/memory.Checklist
Changelog entries