pub struct ReplicaSetStatus {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<ReplicaSetCondition>>,
pub fully_labeled_replicas: Option<i32>,
pub observed_generation: Option<i64>,
pub ready_replicas: Option<i32>,
pub replicas: i32,
pub terminating_replicas: Option<i32>,
}
Expand description
ReplicaSetStatus represents the current status of a ReplicaSet.
Fields§
§available_replicas: Option<i32>
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
conditions: Option<Vec<ReplicaSetCondition>>
Represents the latest available observations of a replica set’s current state.
fully_labeled_replicas: Option<i32>
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
observed_generation: Option<i64>
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
ready_replicas: Option<i32>
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
replicas: i32
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
terminating_replicas: Option<i32>
The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
Trait Implementations§
Source§impl Clone for ReplicaSetStatus
impl Clone for ReplicaSetStatus
Source§fn clone(&self) -> ReplicaSetStatus
fn clone(&self) -> ReplicaSetStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ReplicaSetStatus
impl Debug for ReplicaSetStatus
Source§impl DeepMerge for ReplicaSetStatus
impl DeepMerge for ReplicaSetStatus
Source§fn merge_from(&mut self, other: ReplicaSetStatus)
fn merge_from(&mut self, other: ReplicaSetStatus)
other
into self
.