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

      • MachinePool

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

      • getComputeSubnet

        public String getComputeSubnet()
        ComputeSubnet specifies an existing subnet for use by compute nodes. If omitted, the default (${infraID}-worker-subnet) will be used.
      • setComputeSubnet

        public void setComputeSubnet​(String computeSubnet)
        ComputeSubnet specifies an existing subnet for use by compute nodes. If omitted, the default (${infraID}-worker-subnet) will be used.
      • getNetworkResourceGroupName

        public String getNetworkResourceGroupName()
        NetworkResourceGroupName specifies the network resource group that contains an existing VNet. Ignored unless VirtualNetwork is also specified.
      • setNetworkResourceGroupName

        public void setNetworkResourceGroupName​(String networkResourceGroupName)
        NetworkResourceGroupName specifies the network resource group that contains an existing VNet. Ignored unless VirtualNetwork is also specified.
      • getOsDisk

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

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

        public OSImage getOsImage()
        MachinePool stores the configuration for a machine pool installed on Azure.
      • setOsImage

        public void setOsImage​(OSImage osImage)
        MachinePool stores the configuration for a machine pool installed on Azure.
      • getType

        public String getType()
        InstanceType defines the azure instance type. eg. Standard_DS_V2
      • setType

        public void setType​(String type)
        InstanceType defines the azure instance type. eg. Standard_DS_V2
      • getVirtualNetwork

        public String getVirtualNetwork()
        VirtualNetwork specifies the name of an existing VNet for the Machines to use If omitted, the default (${infraID}-vnet) will be used.
      • setVirtualNetwork

        public void setVirtualNetwork​(String virtualNetwork)
        VirtualNetwork specifies the name of an existing VNet for the Machines to use If omitted, the default (${infraID}-vnet) will be used.
      • getVmNetworkingType

        public String getVmNetworkingType()
        VMNetworkingType specifies whether to enable accelerated networking. Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, greatly improving its networking performance. eg. values: "Accelerated", "Basic"
      • setVmNetworkingType

        public void setVmNetworkingType​(String vmNetworkingType)
        VMNetworkingType specifies whether to enable accelerated networking. Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, greatly improving its networking performance. eg. values: "Accelerated", "Basic"
      • getZones

        public List<String> getZones()
        Zones is list of availability zones that can be used. eg. ["1", "2", "3"]
      • setZones

        public void setZones​(List<String> zones)
        Zones is list of availability zones that can be used. eg. ["1", "2", "3"]
      • getAdditionalProperties

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

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

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