Class 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.KubernetesResource
    DeploymentStatus is the most recently observed status of the Deployment.
    See Also:
    Serialized Form
    • Constructor Detail

      • DeploymentStatus

        public DeploymentStatus()
        No args constructor for use in serialization
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)