Class V1DeploymentStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1DeploymentStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-22T21:20:49.874193Z[Etc/UTC]")
public class V1DeploymentStatus
extends Object
DeploymentStatus is the most recently observed status of the Deployment.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1DeploymentCondition conditionsItem) availableReplicas
(Integer availableReplicas) collisionCount
(Integer collisionCount) conditions
(List<V1DeploymentCondition> conditions) boolean
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.Count of hash collisions for the Deployment.Represents the latest available observations of a deployment's current state.The generation observed by the deployment controller.Total number of non-terminating pods targeted by this Deployment with a Ready Condition.Total number of non-terminating pods targeted by this deployment (their labels match the selector).Total number of terminating pods targeted by this deployment.Total number of unavailable pods targeted by this deployment.Total number of non-terminating pods targeted by this deployment that have the desired template spec.int
hashCode()
observedGeneration
(Long observedGeneration) readyReplicas
(Integer readyReplicas) void
setAvailableReplicas
(Integer availableReplicas) void
setCollisionCount
(Integer collisionCount) void
setConditions
(List<V1DeploymentCondition> conditions) void
setObservedGeneration
(Long observedGeneration) void
setReadyReplicas
(Integer readyReplicas) void
setReplicas
(Integer replicas) void
setTerminatingReplicas
(Integer terminatingReplicas) void
setUnavailableReplicas
(Integer unavailableReplicas) void
setUpdatedReplicas
(Integer updatedReplicas) terminatingReplicas
(Integer terminatingReplicas) toString()
unavailableReplicas
(Integer unavailableReplicas) updatedReplicas
(Integer updatedReplicas)
-
Field Details
-
SERIALIZED_NAME_AVAILABLE_REPLICAS
- See Also:
-
SERIALIZED_NAME_COLLISION_COUNT
- See Also:
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
SERIALIZED_NAME_OBSERVED_GENERATION
- See Also:
-
SERIALIZED_NAME_READY_REPLICAS
- See Also:
-
SERIALIZED_NAME_REPLICAS
- See Also:
-
SERIALIZED_NAME_TERMINATING_REPLICAS
- See Also:
-
SERIALIZED_NAME_UNAVAILABLE_REPLICAS
- See Also:
-
SERIALIZED_NAME_UPDATED_REPLICAS
- See Also:
-
-
Constructor Details
-
V1DeploymentStatus
public V1DeploymentStatus()
-
-
Method Details
-
availableReplicas
-
getAvailableReplicas
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.- Returns:
- availableReplicas
-
setAvailableReplicas
-
collisionCount
-
getCollisionCount
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.- Returns:
- collisionCount
-
setCollisionCount
-
conditions
-
addConditionsItem
-
getConditions
Represents the latest available observations of a deployment's current state.- Returns:
- conditions
-
setConditions
-
observedGeneration
-
getObservedGeneration
The generation observed by the deployment controller.- Returns:
- observedGeneration
-
setObservedGeneration
-
readyReplicas
-
getReadyReplicas
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.- Returns:
- readyReplicas
-
setReadyReplicas
-
replicas
-
getReplicas
Total number of non-terminating pods targeted by this deployment (their labels match the selector).- Returns:
- replicas
-
setReplicas
-
terminatingReplicas
-
getTerminatingReplicas
Total number of terminating pods targeted by this deployment. 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.- Returns:
- terminatingReplicas
-
setTerminatingReplicas
-
updatedReplicas
-
getUpdatedReplicas
Total number of non-terminating pods targeted by this deployment that have the desired template spec.- Returns:
- updatedReplicas
-
setUpdatedReplicas
-
equals
-
hashCode
public int hashCode() -
toString
-