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

      • MachinePool

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

      • getAdditionalNetworkIDs

        public List<String> getAdditionalNetworkIDs()
        AdditionalNetworkIDs contains IDs of additional networks for machines, where each ID is presented in UUID v4 format. Allowed address pairs won't be created for the additional networks.
      • setAdditionalNetworkIDs

        public void setAdditionalNetworkIDs​(List<String> additionalNetworkIDs)
        AdditionalNetworkIDs contains IDs of additional networks for machines, where each ID is presented in UUID v4 format. Allowed address pairs won't be created for the additional networks.
      • getAdditionalSecurityGroupIDs

        public List<String> getAdditionalSecurityGroupIDs()
        AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in UUID v4 format.
      • setAdditionalSecurityGroupIDs

        public void setAdditionalSecurityGroupIDs​(List<String> additionalSecurityGroupIDs)
        AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in UUID v4 format.
      • getRootVolume

        public RootVolume getRootVolume()
        MachinePool stores the configuration for a machine pool installed on OpenStack.
      • setRootVolume

        public void setRootVolume​(RootVolume rootVolume)
        MachinePool stores the configuration for a machine pool installed on OpenStack.
      • getServerGroupPolicy

        public String getServerGroupPolicy()
        ServerGroupPolicy will be used to create the Server Group that will contain all the machines of this MachinePool. Defaults to "soft-anti-affinity".
      • setServerGroupPolicy

        public void setServerGroupPolicy​(String serverGroupPolicy)
        ServerGroupPolicy will be used to create the Server Group that will contain all the machines of this MachinePool. Defaults to "soft-anti-affinity".
      • getType

        public String getType()
        FlavorName defines the OpenStack Nova flavor. eg. m1.large
      • setType

        public void setType​(String type)
        FlavorName defines the OpenStack Nova flavor. eg. m1.large
      • getZones

        public List<String> getZones()
        Zones is the list of availability zones where the instances should be deployed. If no zones are provided, all instances will be deployed on OpenStack Nova default availability zone
      • setZones

        public void setZones​(List<String> zones)
        Zones is the list of availability zones where the instances should be deployed. If no zones are provided, all instances will be deployed on OpenStack Nova default availability zone
      • getAdditionalProperties

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

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

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