VEP 280: Expose Instancetype Resources in VirtualMachine Status#281
VEP 280: Expose Instancetype Resources in VirtualMachine Status#281lyarwood wants to merge 1 commit intokubevirt:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/cc |
f8f2703 to
5ac223d
Compare
This adds a new VEP proposing the addition of a `resources` field to `vm.status.instancetypeRef` that exposes the resolved CPU topology (cores, sockets, threads) and guest memory from a referenced instancetype. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
5ac223d to
3db6ffa
Compare
0xFelix
left a comment
There was a problem hiding this comment.
Last question: Did you explore the use of expand-spec, is it absolutely no option?
|
|
||
| ```yaml | ||
| # Before: u1.medium (1 socket, 4Gi) | ||
| # After: u1.large (2 sockets, 8Gi) |
There was a problem hiding this comment.
Instancetypes alone do not provide sockets, they provide vCPUs?
There was a problem hiding this comment.
By default exposed as sockets without a provided preference.
VEP Metadata
Tracking issue: #280
SIG label: /sig compute
What this PR does
Introduces VEP 280, proposing the addition of a
resourcesfield tovm.status.instancetypeRefthat exposes the resolved CPU topology (cores, sockets, threads) and guest memory from a referenced instancetype.This allows users and tooling to see the guest-visible resources provided by an instancetype directly in the VirtualMachine status without needing to start the VM, fetch the instancetype object, or call expand-spec.
Implementation PR: kubevirt/kubevirt#16130
Special notes for your reviewer
This is a read-only status field addition with no behavioral changes, so no feature gate is proposed.