-
Story
-
Resolution: Done
-
Undefined
-
None
-
CNV v4.13.0
-
None
We don't currently have a way of expressing resource requests within a given instancetype and instead can only express the user visible resources for CPU and Memory, for example:
apiVersion: instancetype.kubevirt.io/v1alpha2
kind: VirtualMachineInstancetype
metadata:
name: csmall
spec:
cpu:
guest: 1
memory:
guest: 128Mi
It would be useful to be able to express resource requests as we can directly via the DomainSpec via something like :
apiVersion: instancetype.kubevirt.io/v1alpha2
kind: VirtualMachineInstancetype
metadata:
name: csmall
spec:
resources:
requests:
cpu: 100m
memory: 128Mi
This would be mutually exclusive with the guest visible approach and should cause the creation or update of an instancetype to be rejected if both are present.
- is related to
-
CNV-24660 [2163460] Can't set resources.requests.memory when using instance type
-
- Closed
-