Class MachineSetStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.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 Summary
Constructors Constructor Description MachineSetStatus()No args constructor for use in serializationMachineSetStatus(String authoritativeAPI, Integer availableReplicas, List<Condition> conditions, String errorMessage, String errorReason, Integer fullyLabeledReplicas, Long observedGeneration, Integer readyReplicas, Integer replicas, Long synchronizedGeneration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineSetStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAuthoritativeAPI()authoritativeAPI is the API that is authoritative for this resource.IntegergetAvailableReplicas()The number of available replicas (ready for at least minReadySeconds) for this MachineSet.List<Condition>getConditions()conditions defines the current state of the MachineSetStringgetErrorMessage()MachineSetStatus defines the observed state of MachineSetStringgetErrorReason()In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set.IntegergetFullyLabeledReplicas()The number of replicas that have labels matching the labels of the machine template of the MachineSet.LonggetObservedGeneration()observedGeneration reflects the generation of the most recently observed MachineSet.IntegergetReadyReplicas()The number of ready replicas for this MachineSet.IntegergetReplicas()replicas is the most recently observed number of replicas.LonggetSynchronizedGeneration()synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAuthoritativeAPI(String authoritativeAPI)authoritativeAPI is the API that is authoritative for this resource.voidsetAvailableReplicas(Integer availableReplicas)The number of available replicas (ready for at least minReadySeconds) for this MachineSet.voidsetConditions(List<Condition> conditions)conditions defines the current state of the MachineSetvoidsetErrorMessage(String errorMessage)MachineSetStatus defines the observed state of MachineSetvoidsetErrorReason(String errorReason)In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set.voidsetFullyLabeledReplicas(Integer fullyLabeledReplicas)The number of replicas that have labels matching the labels of the machine template of the MachineSet.voidsetObservedGeneration(Long observedGeneration)observedGeneration reflects the generation of the most recently observed MachineSet.voidsetReadyReplicas(Integer readyReplicas)The number of ready replicas for this MachineSet.voidsetReplicas(Integer replicas)replicas is the most recently observed number of replicas.voidsetSynchronizedGeneration(Long synchronizedGeneration)synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.MachineSetStatusBuildertoBuilder()
-
-
-
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.
-
edit
public MachineSetStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineSetStatusBuilder>
-
toBuilder
public MachineSetStatusBuilder toBuilder()
-
-