Class V1StatefulSetStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1StatefulSetStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
public class V1StatefulSetStatus
extends Object
StatefulSetStatus represents the current state of a StatefulSet.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1StatefulSetCondition conditionsItem) availableReplicas
(Integer availableReplicas) collisionCount
(Integer collisionCount) conditions
(List<V1StatefulSetCondition> conditions) currentReplicas
(Integer currentReplicas) currentRevision
(String currentRevision) boolean
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.collisionCount is the count of hash collisions for the StatefulSet.Represents the latest available observations of a statefulset's current state.currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).observedGeneration is the most recent generation observed for this StatefulSet.readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.replicas is the number of Pods created by the StatefulSet controller.updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)int
hashCode()
observedGeneration
(Long observedGeneration) readyReplicas
(Integer readyReplicas) void
setAvailableReplicas
(Integer availableReplicas) void
setCollisionCount
(Integer collisionCount) void
setConditions
(List<V1StatefulSetCondition> conditions) void
setCurrentReplicas
(Integer currentReplicas) void
setCurrentRevision
(String currentRevision) void
setObservedGeneration
(Long observedGeneration) void
setReadyReplicas
(Integer readyReplicas) void
setReplicas
(Integer replicas) void
setUpdatedReplicas
(Integer updatedReplicas) void
setUpdateRevision
(String updateRevision) toString()
updatedReplicas
(Integer updatedReplicas) updateRevision
(String updateRevision)
-
Field Details
-
SERIALIZED_NAME_AVAILABLE_REPLICAS
- See Also:
-
SERIALIZED_NAME_COLLISION_COUNT
- See Also:
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
SERIALIZED_NAME_CURRENT_REPLICAS
- See Also:
-
SERIALIZED_NAME_CURRENT_REVISION
- See Also:
-
SERIALIZED_NAME_OBSERVED_GENERATION
- See Also:
-
SERIALIZED_NAME_READY_REPLICAS
- See Also:
-
SERIALIZED_NAME_REPLICAS
- See Also:
-
SERIALIZED_NAME_UPDATE_REVISION
- See Also:
-
SERIALIZED_NAME_UPDATED_REPLICAS
- See Also:
-
-
Constructor Details
-
V1StatefulSetStatus
public V1StatefulSetStatus()
-
-
Method Details
-
availableReplicas
-
getAvailableReplicas
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.- Returns:
- availableReplicas
-
setAvailableReplicas
-
collisionCount
-
getCollisionCount
collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.- Returns:
- collisionCount
-
setCollisionCount
-
conditions
-
addConditionsItem
-
getConditions
Represents the latest available observations of a statefulset's current state.- Returns:
- conditions
-
setConditions
-
currentReplicas
-
getCurrentReplicas
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.- Returns:
- currentReplicas
-
setCurrentReplicas
-
currentRevision
-
getCurrentRevision
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).- Returns:
- currentRevision
-
setCurrentRevision
-
observedGeneration
-
getObservedGeneration
observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.- Returns:
- observedGeneration
-
setObservedGeneration
-
readyReplicas
-
getReadyReplicas
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.- Returns:
- readyReplicas
-
setReadyReplicas
-
replicas
-
getReplicas
replicas is the number of Pods created by the StatefulSet controller.- Returns:
- replicas
-
setReplicas
-
updateRevision
-
getUpdateRevision
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)- Returns:
- updateRevision
-
setUpdateRevision
-
updatedReplicas
-
getUpdatedReplicas
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.- Returns:
- updatedReplicas
-
setUpdatedReplicas
-
equals
-
hashCode
public int hashCode() -
toString
-