Class MachinePoolSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MachinePoolSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MachinePoolSpec defines the desired state of MachinePool
    See Also:
    Serialized Form
    • Constructor Detail

      • MachinePoolSpec

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

      • getAutoscaling

        public MachinePoolAutoscaling getAutoscaling()
        MachinePoolSpec defines the desired state of MachinePool
      • setAutoscaling

        public void setAutoscaling​(MachinePoolAutoscaling autoscaling)
        MachinePoolSpec defines the desired state of MachinePool
      • getClusterDeploymentRef

        public io.fabric8.kubernetes.api.model.LocalObjectReference getClusterDeploymentRef()
        MachinePoolSpec defines the desired state of MachinePool
      • setClusterDeploymentRef

        public void setClusterDeploymentRef​(io.fabric8.kubernetes.api.model.LocalObjectReference clusterDeploymentRef)
        MachinePoolSpec defines the desired state of MachinePool
      • getLabels

        public Map<String,​String> getLabels()
        Map of label string keys and values that will be applied to the created MachineSet's MachineSpec. This affects the labels that will end up on the *Nodes* (in contrast with the MachineLabels field). This list will overwrite any modifications made to Node labels on an ongoing basis.
      • setLabels

        public void setLabels​(Map<String,​String> labels)
        Map of label string keys and values that will be applied to the created MachineSet's MachineSpec. This affects the labels that will end up on the *Nodes* (in contrast with the MachineLabels field). This list will overwrite any modifications made to Node labels on an ongoing basis.
      • getMachineLabels

        public Map<String,​String> getMachineLabels()
        Map of label string keys and values that will be applied to the created MachineSet's MachineTemplateSpec. This affects the labels that will end up on the *Machines* (in contrast with the Labels field). This list will overwrite any modifications made to Machine labels on an ongoing basis. Note: We ignore entries that conflict with generated labels.
      • setMachineLabels

        public void setMachineLabels​(Map<String,​String> machineLabels)
        Map of label string keys and values that will be applied to the created MachineSet's MachineTemplateSpec. This affects the labels that will end up on the *Machines* (in contrast with the Labels field). This list will overwrite any modifications made to Machine labels on an ongoing basis. Note: We ignore entries that conflict with generated labels.
      • getName

        public String getName()
        Name is the name of the machine pool.
      • setName

        public void setName​(String name)
        Name is the name of the machine pool.
      • getPlatform

        public MachinePoolPlatform getPlatform()
        MachinePoolSpec defines the desired state of MachinePool
      • setPlatform

        public void setPlatform​(MachinePoolPlatform platform)
        MachinePoolSpec defines the desired state of MachinePool
      • getReplicas

        public Long getReplicas()
        Replicas is the count of machines for this machine pool. Replicas and autoscaling cannot be used together. Default is 1, if autoscaling is not used.
      • setReplicas

        public void setReplicas​(Long replicas)
        Replicas is the count of machines for this machine pool. Replicas and autoscaling cannot be used together. Default is 1, if autoscaling is not used.
      • getTaints

        public List<io.fabric8.kubernetes.api.model.Taint> getTaints()
        List of taints that will be applied to the created MachineSet's MachineSpec. This list will overwrite any modifications made to Node taints on an ongoing basis. In case of duplicate entries, first encountered taint Value will be preserved, and the rest collapsed on the corresponding MachineSets. Note that taints are uniquely identified based on key+effect, not just key.
      • setTaints

        public void setTaints​(List<io.fabric8.kubernetes.api.model.Taint> taints)
        List of taints that will be applied to the created MachineSet's MachineSpec. This list will overwrite any modifications made to Node taints on an ongoing basis. In case of duplicate entries, first encountered taint Value will be preserved, and the rest collapsed on the corresponding MachineSets. Note that taints are uniquely identified based on key+effect, not just key.
      • getAdditionalProperties

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

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

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