Class ControlPlaneMachineSetStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1.ControlPlaneMachineSetStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ControlPlaneMachineSetStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ControlPlaneMachineSetStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ControlPlaneMachineSetStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ControlPlaneMachineSetStatus represents the status of the ControlPlaneMachineSet CRD.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControlPlaneMachineSetStatus()No args constructor for use in serializationControlPlaneMachineSetStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, Long observedGeneration, Integer readyReplicas, Integer replicas, Integer unavailableReplicas, Integer updatedReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlPlaneMachineSetStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions represents the observations of the ControlPlaneMachineSet's current state.LonggetObservedGeneration()observedGeneration is the most recent generation observed for this ControlPlaneMachineSet.IntegergetReadyReplicas()readyReplicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller which are ready.IntegergetReplicas()replicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller.IntegergetUnavailableReplicas()unavailableReplicas is the number of Control Plane Machines that are still required before the ControlPlaneMachineSet reaches the desired available capacity.IntegergetUpdatedReplicas()updatedReplicas is the number of non-terminated Control Plane Machines created by the ControlPlaneMachineSet controller that have the desired provider spec and are ready.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions represents the observations of the ControlPlaneMachineSet's current state.voidsetObservedGeneration(Long observedGeneration)observedGeneration is the most recent generation observed for this ControlPlaneMachineSet.voidsetReadyReplicas(Integer readyReplicas)readyReplicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller which are ready.voidsetReplicas(Integer replicas)replicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller.voidsetUnavailableReplicas(Integer unavailableReplicas)unavailableReplicas is the number of Control Plane Machines that are still required before the ControlPlaneMachineSet reaches the desired available capacity.voidsetUpdatedReplicas(Integer updatedReplicas)updatedReplicas is the number of non-terminated Control Plane Machines created by the ControlPlaneMachineSet controller that have the desired provider spec and are ready.ControlPlaneMachineSetStatusBuildertoBuilder()
-
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions represents the observations of the ControlPlaneMachineSet's current state. Known .status.conditions.type are: Available, Degraded and Progressing.
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions represents the observations of the ControlPlaneMachineSet's current state. Known .status.conditions.type are: Available, Degraded and Progressing.
-
getObservedGeneration
public Long getObservedGeneration()
observedGeneration is the most recent generation observed for this ControlPlaneMachineSet. It corresponds to the ControlPlaneMachineSets's generation, which is updated on mutation by the API Server.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
observedGeneration is the most recent generation observed for this ControlPlaneMachineSet. It corresponds to the ControlPlaneMachineSets's generation, which is updated on mutation by the API Server.
-
getReadyReplicas
public Integer getReadyReplicas()
readyReplicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller which are ready. Note that this value may be higher than the desired number of replicas while rolling updates are in-progress.
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
readyReplicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller which are ready. Note that this value may be higher than the desired number of replicas while rolling updates are in-progress.
-
getReplicas
public Integer getReplicas()
replicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller. Note that during update operations this value may differ from the desired replica count.
-
setReplicas
public void setReplicas(Integer replicas)
replicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller. Note that during update operations this value may differ from the desired replica count.
-
getUnavailableReplicas
public Integer getUnavailableReplicas()
unavailableReplicas is the number of Control Plane Machines that are still required before the ControlPlaneMachineSet reaches the desired available capacity. When this value is non-zero, the number of ReadyReplicas is less than the desired Replicas.
-
setUnavailableReplicas
public void setUnavailableReplicas(Integer unavailableReplicas)
unavailableReplicas is the number of Control Plane Machines that are still required before the ControlPlaneMachineSet reaches the desired available capacity. When this value is non-zero, the number of ReadyReplicas is less than the desired Replicas.
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
updatedReplicas is the number of non-terminated Control Plane Machines created by the ControlPlaneMachineSet controller that have the desired provider spec and are ready. This value is set to 0 when a change is detected to the desired spec. When the update strategy is RollingUpdate, this will also coincide with starting the process of updating the Machines. When the update strategy is OnDelete, this value will remain at 0 until a user deletes an existing replica and its replacement has become ready.
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
updatedReplicas is the number of non-terminated Control Plane Machines created by the ControlPlaneMachineSet controller that have the desired provider spec and are ready. This value is set to 0 when a change is detected to the desired spec. When the update strategy is RollingUpdate, this will also coincide with starting the process of updating the Machines. When the update strategy is OnDelete, this value will remain at 0 until a user deletes an existing replica and its replacement has become ready.
-
edit
public ControlPlaneMachineSetStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ControlPlaneMachineSetStatusBuilder>
-
toBuilder
public ControlPlaneMachineSetStatusBuilder toBuilder()
-
-