Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 3.44 KB

File metadata and controls

20 lines (14 loc) · 3.44 KB

Kubevirt::V1ReservedOverhead

Properties

Name Type Description Notes
added_overhead Object Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the &quot;&quot; case in <decimalSI>.) <digit> ::= 0 1
mem_lock String RequiresLock determines whether the VM's and its overhead memory need to be locked or not. It is a common practice to enable this if vDPA, VFIO or any other specialized hardware that depends on DMA is being used by the VM. False - (Default) memory lock RLimits are not modified. True - Memory lock RLimits will be updated to consider VM memory size and memory overhead [optional]

Example

require 'kubevirt'

instance = Kubevirt::V1ReservedOverhead.new(
  added_overhead: null,
  mem_lock: null
)