pub struct WorkloadPodGroupGangSchedulingPolicy {
pub min_count: Option<i32>,
}Expand description
WorkloadPodGroupGangSchedulingPolicy defines the parameters for gang (all-or-nothing) scheduling.
Fields§
§min_count: Option<i32>minCount is the minimum number of pods that must be scheduled at the same time for the scheduler to admit the entire group. This field is optional. If it is not specified, the controller should inject a context-specific sane default (e.g., parallelism for a Job). If set, it must be a positive integer.
Trait Implementations§
Source§impl DeepMerge for WorkloadPodGroupGangSchedulingPolicy
impl DeepMerge for WorkloadPodGroupGangSchedulingPolicy
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl<'de> Deserialize<'de> for WorkloadPodGroupGangSchedulingPolicy
impl<'de> Deserialize<'de> for WorkloadPodGroupGangSchedulingPolicy
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for WorkloadPodGroupGangSchedulingPolicy
Auto Trait Implementations§
impl Freeze for WorkloadPodGroupGangSchedulingPolicy
impl RefUnwindSafe for WorkloadPodGroupGangSchedulingPolicy
impl Send for WorkloadPodGroupGangSchedulingPolicy
impl Sync for WorkloadPodGroupGangSchedulingPolicy
impl Unpin for WorkloadPodGroupGangSchedulingPolicy
impl UnsafeUnpin for WorkloadPodGroupGangSchedulingPolicy
impl UnwindSafe for WorkloadPodGroupGangSchedulingPolicy
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
Mutably borrows from an owned value. Read more