Class ReplicaSetStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.apps.ReplicaSetStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ReplicaSetStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ReplicaSetStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ReplicaSetStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ReplicaSetStatus represents the current status of a ReplicaSet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicaSetStatus()No args constructor for use in serializationReplicaSetStatus(Integer availableReplicas, List<ReplicaSetCondition> conditions, Integer fullyLabeledReplicas, Long observedGeneration, Integer readyReplicas, Integer replicas, Integer terminatingReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaSetStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.List<ReplicaSetCondition>getConditions()Represents the latest available observations of a replica set's current state.IntegergetFullyLabeledReplicas()The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.LonggetObservedGeneration()ObservedGeneration reflects the generation of the most recently observed ReplicaSet.IntegergetReadyReplicas()The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.IntegergetReplicas()Replicas is the most recently observed number of non-terminating pods.IntegergetTerminatingReplicas()The number of terminating pods for this replica set.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.voidsetConditions(List<ReplicaSetCondition> conditions)Represents the latest available observations of a replica set's current state.voidsetFullyLabeledReplicas(Integer fullyLabeledReplicas)The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.voidsetObservedGeneration(Long observedGeneration)ObservedGeneration reflects the generation of the most recently observed ReplicaSet.voidsetReadyReplicas(Integer readyReplicas)The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.voidsetReplicas(Integer replicas)Replicas is the most recently observed number of non-terminating pods.voidsetTerminatingReplicas(Integer terminatingReplicas)The number of terminating pods for this replica set.ReplicaSetStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
-
getConditions
public List<ReplicaSetCondition> getConditions()
Represents the latest available observations of a replica set's current state.
-
setConditions
public void setConditions(List<ReplicaSetCondition> conditions)
Represents the latest available observations of a replica set's current state.
-
getFullyLabeledReplicas
public Integer getFullyLabeledReplicas()
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
-
setFullyLabeledReplicas
public void setFullyLabeledReplicas(Integer fullyLabeledReplicas)
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
-
getObservedGeneration
public Long getObservedGeneration()
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
-
getReadyReplicas
public Integer getReadyReplicas()
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
-
getReplicas
public Integer getReplicas()
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
-
setReplicas
public void setReplicas(Integer replicas)
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
-
getTerminatingReplicas
public Integer getTerminatingReplicas()
The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
-
setTerminatingReplicas
public void setTerminatingReplicas(Integer terminatingReplicas)
The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
-
edit
public ReplicaSetStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ReplicaSetStatusBuilder>
-
toBuilder
public ReplicaSetStatusBuilder toBuilder()
-
-