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

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 ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.