pub struct PodGroupSchedulingPolicy {
pub basic: Option<BasicSchedulingPolicy>,
pub gang: Option<GangSchedulingPolicy>,
}Expand description
PodGroupSchedulingPolicy defines the scheduling configuration for a PodGroup. Exactly one policy must be set. The policy is chosen at creation time by setting either the Basic or Gang field. The PodGroup may not change policy after creation. Fields within chosen policy may be updated after creation when their individual fields allow it.
Fields§
§basic: Option<BasicSchedulingPolicy>basic specifies that the pods in this group should be scheduled using standard Kubernetes scheduling behavior. Setting this field at group creation time opts this group to basic scheduling; this field cannot be changed afterward.
gang: Option<GangSchedulingPolicy>gang specifies that the pods in this group should be scheduled using all-or-nothing semantics. Setting this field at group creation time opts this group to gang scheduling; this field cannot be set or unset afterward. The minCount field within Gang scheduling policy remains mutable after group creation.
Trait Implementations§
Source§impl Clone for PodGroupSchedulingPolicy
impl Clone for PodGroupSchedulingPolicy
Source§impl Debug for PodGroupSchedulingPolicy
impl Debug for PodGroupSchedulingPolicy
Source§impl DeepMerge for PodGroupSchedulingPolicy
impl DeepMerge for PodGroupSchedulingPolicy
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other into self.