Class MachineSetStatus

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

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

      • MachineSetStatus

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

      • getAuthoritativeAPI

        public String getAuthoritativeAPI()
        authoritativeAPI is the API that is authoritative for this resource. Valid values are MachineAPI, ClusterAPI and Migrating. This value is updated by the migration controller to reflect the authoritative API. Machine API and Cluster API controllers use this value to determine whether or not to reconcile the resource. When set to Migrating, the migration controller is currently performing the handover of authority from one API to the other.
      • setAuthoritativeAPI

        public void setAuthoritativeAPI​(String authoritativeAPI)
        authoritativeAPI is the API that is authoritative for this resource. Valid values are MachineAPI, ClusterAPI and Migrating. This value is updated by the migration controller to reflect the authoritative API. Machine API and Cluster API controllers use this value to determine whether or not to reconcile the resource. When set to Migrating, the migration controller is currently performing the handover of authority from one API to the other.
      • getAvailableReplicas

        public Integer getAvailableReplicas()
        The number of available replicas (ready for at least minReadySeconds) for this MachineSet.
      • setAvailableReplicas

        public void setAvailableReplicas​(Integer availableReplicas)
        The number of available replicas (ready for at least minReadySeconds) for this MachineSet.
      • getConditions

        public List<Condition> getConditions()
        conditions defines the current state of the MachineSet
      • setConditions

        public void setConditions​(List<Condition> conditions)
        conditions defines the current state of the MachineSet
      • getErrorMessage

        public String getErrorMessage()
        MachineSetStatus defines the observed state of MachineSet
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
        MachineSetStatus defines the observed state of MachineSet
      • getErrorReason

        public String getErrorReason()
        In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set. ErrorReason will be populated with a succinct value suitable for machine interpretation, while ErrorMessage will contain a more verbose string suitable for logging and human consumption.


        These fields should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the MachineTemplate's spec or the configuration of the machine controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the machine controller, or the responsible machine controller itself being critically misconfigured.


        Any transient errors that occur during the reconciliation of Machines can be added as events to the MachineSet object and/or logged in the controller's output.

      • setErrorReason

        public void setErrorReason​(String errorReason)
        In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set. ErrorReason will be populated with a succinct value suitable for machine interpretation, while ErrorMessage will contain a more verbose string suitable for logging and human consumption.


        These fields should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the MachineTemplate's spec or the configuration of the machine controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the machine controller, or the responsible machine controller itself being critically misconfigured.


        Any transient errors that occur during the reconciliation of Machines can be added as events to the MachineSet object and/or logged in the controller's output.

      • getFullyLabeledReplicas

        public Integer getFullyLabeledReplicas()
        The number of replicas that have labels matching the labels of the machine template of the MachineSet.
      • setFullyLabeledReplicas

        public void setFullyLabeledReplicas​(Integer fullyLabeledReplicas)
        The number of replicas that have labels matching the labels of the machine template of the MachineSet.
      • getObservedGeneration

        public Long getObservedGeneration()
        observedGeneration reflects the generation of the most recently observed MachineSet.
      • setObservedGeneration

        public void setObservedGeneration​(Long observedGeneration)
        observedGeneration reflects the generation of the most recently observed MachineSet.
      • getReadyReplicas

        public Integer getReadyReplicas()
        The number of ready replicas for this MachineSet. A machine is considered ready when the node has been created and is "Ready".
      • setReadyReplicas

        public void setReadyReplicas​(Integer readyReplicas)
        The number of ready replicas for this MachineSet. A machine is considered ready when the node has been created and is "Ready".
      • getReplicas

        public Integer getReplicas()
        replicas is the most recently observed number of replicas.
      • setReplicas

        public void setReplicas​(Integer replicas)
        replicas is the most recently observed number of replicas.
      • getSynchronizedGeneration

        public Long getSynchronizedGeneration()
        synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with. This field is set when the authoritative resource is updated and the sync controller has updated the non-authoritative resource to match.
      • setSynchronizedGeneration

        public void setSynchronizedGeneration​(Long synchronizedGeneration)
        synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with. This field is set when the authoritative resource is updated and the sync controller has updated the non-authoritative resource to match.
      • getAdditionalProperties

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

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

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