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 vSphere.
    See Also:
    Serialized Form
    • Constructor Detail

      • MachinePool

        public MachinePool()
        No args constructor for use in serialization
    • Method Detail

      • getCoresPerSocket

        public Integer getCoresPerSocket()
        NumCoresPerSocket is the number of cores per socket in a vm. The number of vCPUs on the vm will be NumCPUs/NumCoresPerSocket.
      • setCoresPerSocket

        public void setCoresPerSocket​(Integer coresPerSocket)
        NumCoresPerSocket is the number of cores per socket in a vm. The number of vCPUs on the vm will be NumCPUs/NumCoresPerSocket.
      • getCpus

        public Integer getCpus()
        NumCPUs is the total number of virtual processor cores to assign a vm.
      • setCpus

        public void setCpus​(Integer cpus)
        NumCPUs is the total number of virtual processor cores to assign a vm.
      • getMemoryMB

        public Long getMemoryMB()
        Memory is the size of a VM's memory in MB.
      • setMemoryMB

        public void setMemoryMB​(Long memoryMB)
        Memory is the size of a VM's memory in MB.
      • getOsDisk

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

        public void setOsDisk​(OSDisk osDisk)
        MachinePool stores the configuration for a machine pool installed on vSphere.
      • getResourcePool

        public String getResourcePool()
        ResourcePool is the name of the resource pool that will be used for virtual machines. If it is not present, a default value will be used.
      • setResourcePool

        public void setResourcePool​(String resourcePool)
        ResourcePool is the name of the resource pool that will be used for virtual machines. If it is not present, a default value will be used.
      • getAdditionalProperties

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

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

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