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 for DeploymentStatus
impl PartialEq for DeploymentStatus
source§impl Serialize for DeploymentStatus
impl Serialize for DeploymentStatus
impl StructuralPartialEq for DeploymentStatus
Auto Trait Implementations§
impl Freeze for DeploymentStatus
impl RefUnwindSafe for DeploymentStatus
impl Send for DeploymentStatus
impl Sync for DeploymentStatus
impl Unpin for DeploymentStatus
impl UnwindSafe for DeploymentStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)