pub struct DeploymentStatus {
    pub available_replicas: Option<i32>,
    pub collision_count: Option<i32>,
    pub conditions: Option<Vec<DeploymentCondition>>,
    pub observed_generation: Option<i64>,
    pub ready_replicas: Option<i32>,
    pub replicas: Option<i32>,
    pub unavailable_replicas: Option<i32>,
    pub updated_replicas: Option<i32>,
}
Expand description

DeploymentStatus is the most recently observed status of the Deployment.

Fields§

§available_replicas: Option<i32>

Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.

§collision_count: Option<i32>

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.

§conditions: Option<Vec<DeploymentCondition>>

Represents the latest available observations of a deployment’s current state.

§observed_generation: Option<i64>

The generation observed by the deployment controller.

§ready_replicas: Option<i32>

readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.

§replicas: Option<i32>

Total number of non-terminated pods targeted by this deployment (their labels match the selector).

§unavailable_replicas: Option<i32>

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.

§updated_replicas: Option<i32>

Total number of non-terminated pods targeted by this deployment that have the desired template spec.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Merge other into self.
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.