Struct k8s_openapi::api::apps::v1::DeploymentStatus
source · 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).
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§
source§impl Clone for DeploymentStatus
impl Clone for DeploymentStatus
source§fn clone(&self) -> DeploymentStatus
fn clone(&self) -> DeploymentStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentStatus
impl Debug for DeploymentStatus
source§impl DeepMerge for DeploymentStatus
impl DeepMerge for DeploymentStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for DeploymentStatus
impl Default for DeploymentStatus
source§fn default() -> DeploymentStatus
fn default() -> DeploymentStatus
source§impl<'de> Deserialize<'de> for DeploymentStatus
impl<'de> Deserialize<'de> for DeploymentStatus
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl PartialEq<DeploymentStatus> for DeploymentStatus
impl PartialEq<DeploymentStatus> for DeploymentStatus
source§fn eq(&self, other: &DeploymentStatus) -> bool
fn eq(&self, other: &DeploymentStatus) -> bool
self
and other
values to be equal, and is used
by ==
.