pub struct PodGroupStatus {
pub conditions: Option<Vec<Condition>>,
pub resource_claim_statuses: Option<Vec<PodGroupResourceClaimStatus>>,
}Expand description
PodGroupStatus represents information about the status of a pod group.
Fields§
§conditions: Option<Vec<Condition>>Conditions represent the latest observations of the PodGroup’s state.
Known condition types: - “PodGroupScheduled”: Indicates whether the scheduling requirement has been satisfied. - “DisruptionTarget”: Indicates whether the PodGroup is about to be terminated due to disruption such as preemption.
Known reasons for the PodGroupScheduled condition: - “Unschedulable”: The PodGroup cannot be scheduled due to resource constraints, affinity/anti-affinity rules, or insufficient capacity for the gang.
- “SchedulerError”: The PodGroup cannot be scheduled due to some internal error that happened during scheduling, for example due to nodeAffinity parsing errors.
Known reasons for the DisruptionTarget condition: - “PreemptionByScheduler”: The PodGroup was preempted by the scheduler to make room for higher-priority PodGroups or Pods.
resource_claim_statuses: Option<Vec<PodGroupResourceClaimStatus>>Status of resource claims.
Trait Implementations§
Source§impl Clone for PodGroupStatus
impl Clone for PodGroupStatus
Source§fn clone(&self) -> PodGroupStatus
fn clone(&self) -> PodGroupStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PodGroupStatus
impl Debug for PodGroupStatus
Source§impl DeepMerge for PodGroupStatus
impl DeepMerge for PodGroupStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other into self.Source§impl Default for PodGroupStatus
impl Default for PodGroupStatus
Source§fn default() -> PodGroupStatus
fn default() -> PodGroupStatus
Source§impl<'de> Deserialize<'de> for PodGroupStatus
impl<'de> Deserialize<'de> for PodGroupStatus
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 PodGroupStatus
impl PartialEq for PodGroupStatus
Source§fn eq(&self, other: &PodGroupStatus) -> bool
fn eq(&self, other: &PodGroupStatus) -> bool
self and other values to be equal, and is used by ==.