Class MachinePool

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MachinePool
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MachinePool stores the configuration for a machine pool installed on ovirt.
    See Also:
    Serialized Form
    • Method Detail

      • getAffinityGroupsNames

        public List<String> getAffinityGroupsNames()
        AffinityGroupsNames contains a list of oVirt affinity group names that the newly created machines will join. The affinity groups should exist on the oVirt cluster or created by the OpenShift installer.
      • setAffinityGroupsNames

        public void setAffinityGroupsNames​(List<String> affinityGroupsNames)
        AffinityGroupsNames contains a list of oVirt affinity group names that the newly created machines will join. The affinity groups should exist on the oVirt cluster or created by the OpenShift installer.
      • getAutoPinningPolicy

        public String getAutoPinningPolicy()
        AutoPinningPolicy defines the policy to automatically set the CPU and NUMA including pinning to the host for the instance. When the field is omitted the default will be "none".
      • setAutoPinningPolicy

        public void setAutoPinningPolicy​(String autoPinningPolicy)
        AutoPinningPolicy defines the policy to automatically set the CPU and NUMA including pinning to the host for the instance. When the field is omitted the default will be "none".
      • getClone

        public Boolean getClone()
        Clone makes sure that the disks are cloned from the template and are not linked. Defaults to true for high performance and server VM types, false for desktop types.


        Note: this option is not documented in the OpenShift documentation. This is intentional as it has sane defaults that shouldn't be changed unless needed for debugging or resolving issues in cooperation with Red Hat support.

      • setClone

        public void setClone​(Boolean clone)
        Clone makes sure that the disks are cloned from the template and are not linked. Defaults to true for high performance and server VM types, false for desktop types.


        Note: this option is not documented in the OpenShift documentation. This is intentional as it has sane defaults that shouldn't be changed unless needed for debugging or resolving issues in cooperation with Red Hat support.

      • getCpu

        public CPU getCpu()
        MachinePool stores the configuration for a machine pool installed on ovirt.
      • setCpu

        public void setCpu​(CPU cpu)
        MachinePool stores the configuration for a machine pool installed on ovirt.
      • getFormat

        public String getFormat()
        Format is the disk format that the disks are in. Can be "cow" or "raw". "raw" disables several features that may be needed, such as incremental backups.
      • setFormat

        public void setFormat​(String format)
        Format is the disk format that the disks are in. Can be "cow" or "raw". "raw" disables several features that may be needed, such as incremental backups.
      • getHugepages

        public Integer getHugepages()
        Hugepages is the size of a VM's hugepages to use in KiBs.
      • setHugepages

        public void setHugepages​(Integer hugepages)
        Hugepages is the size of a VM's hugepages to use in KiBs.
      • getInstanceTypeID

        public String getInstanceTypeID()
        InstanceTypeID defines the VM instance type and overrides the hardware parameters of the created VM, including cpu and memory. If InstanceTypeID is passed, all memory and cpu variables will be ignored.
      • setInstanceTypeID

        public void setInstanceTypeID​(String instanceTypeID)
        InstanceTypeID defines the VM instance type and overrides the hardware parameters of the created VM, including cpu and memory. If InstanceTypeID is passed, all memory and cpu variables will be ignored.
      • getMemoryMB

        public Integer getMemoryMB()
        MemoryMB is the size of a VM's memory in MiBs.
      • setMemoryMB

        public void setMemoryMB​(Integer memoryMB)
        MemoryMB is the size of a VM's memory in MiBs.
      • getOsDisk

        public Disk getOsDisk()
        MachinePool stores the configuration for a machine pool installed on ovirt.
      • setOsDisk

        public void setOsDisk​(Disk osDisk)
        MachinePool stores the configuration for a machine pool installed on ovirt.
      • getSparse

        public Boolean getSparse()
        Sparse indicates that sparse provisioning should be used and disks should be not preallocated.
      • setSparse

        public void setSparse​(Boolean sparse)
        Sparse indicates that sparse provisioning should be used and disks should be not preallocated.
      • getVmType

        public String getVmType()
        VMType defines the workload type of the VM.
      • setVmType

        public void setVmType​(String vmType)
        VMType defines the workload type of the VM.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)