Class DeploymentStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.DeploymentStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeploymentStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeploymentStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeploymentStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceDeploymentStatus is the most recently observed status of the Deployment.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentStatus()No args constructor for use in serializationDeploymentStatus(Integer availableReplicas, Integer collisionCount, List<DeploymentCondition> conditions, Long observedGeneration, Integer readyReplicas, Integer replicas, Integer unavailableReplicas, Integer updatedReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.IntegergetCollisionCount()Count of hash collisions for the Deployment.List<DeploymentCondition>getConditions()Represents the latest available observations of a deployment's current state.LonggetObservedGeneration()The generation observed by the deployment controller.IntegergetReadyReplicas()Total number of ready pods targeted by this deployment.IntegergetReplicas()Total number of non-terminated pods targeted by this deployment (their labels match the selector).IntegergetUnavailableReplicas()Total number of unavailable pods targeted by this deployment.IntegergetUpdatedReplicas()Total number of non-terminated pods targeted by this deployment that have the desired template spec.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.voidsetCollisionCount(Integer collisionCount)Count of hash collisions for the Deployment.voidsetConditions(List<DeploymentCondition> conditions)Represents the latest available observations of a deployment's current state.voidsetObservedGeneration(Long observedGeneration)The generation observed by the deployment controller.voidsetReadyReplicas(Integer readyReplicas)Total number of ready pods targeted by this deployment.voidsetReplicas(Integer replicas)Total number of non-terminated pods targeted by this deployment (their labels match the selector).voidsetUnavailableReplicas(Integer unavailableReplicas)Total number of unavailable pods targeted by this deployment.voidsetUpdatedReplicas(Integer updatedReplicas)Total number of non-terminated pods targeted by this deployment that have the desired template spec.DeploymentStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
-
getCollisionCount
public Integer 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.
-
setCollisionCount
public void setCollisionCount(Integer collisionCount)
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.
-
getConditions
public List<DeploymentCondition> getConditions()
Represents the latest available observations of a deployment's current state.
-
setConditions
public void setConditions(List<DeploymentCondition> conditions)
Represents the latest available observations of a deployment's current state.
-
getObservedGeneration
public Long getObservedGeneration()
The generation observed by the deployment controller.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
The generation observed by the deployment controller.
-
getReadyReplicas
public Integer getReadyReplicas()
Total number of ready pods targeted by this deployment.
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
Total number of ready pods targeted by this deployment.
-
getReplicas
public Integer getReplicas()
Total number of non-terminated pods targeted by this deployment (their labels match the selector).
-
setReplicas
public void setReplicas(Integer replicas)
Total number of non-terminated pods targeted by this deployment (their labels match the selector).
-
getUnavailableReplicas
public Integer getUnavailableReplicas()
Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
-
setUnavailableReplicas
public void setUnavailableReplicas(Integer unavailableReplicas)
Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
Total number of non-terminated pods targeted by this deployment that have the desired template spec.
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
Total number of non-terminated pods targeted by this deployment that have the desired template spec.
-
edit
public DeploymentStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeploymentStatusBuilder>
-
toBuilder
public DeploymentStatusBuilder toBuilder()
-
-