Skip to content

scheduling.v1alpha3.compositePodGroupTemplate

"CompositePodGroupTemplate represents a template for a CompositePodGroup with a scheduling policy."

Index

Fields

fn withCompositePodGroupTemplates

withCompositePodGroupTemplates(compositePodGroupTemplates)

"compositePodGroupTemplates is the list of templates for children CompositePodGroups. The maximum number of templates is 8. At least one entry in CompositePodGroupTemplates or PodGroupTemplates must be set."

fn withCompositePodGroupTemplatesMixin

withCompositePodGroupTemplatesMixin(compositePodGroupTemplates)

"compositePodGroupTemplates is the list of templates for children CompositePodGroups. The maximum number of templates is 8. At least one entry in CompositePodGroupTemplates or PodGroupTemplates must be set."

Note: This function appends passed data to existing values

fn withName

withName(name)

"name is a unique identifier for the CompositePodGroupTemplate within the Workload. It must be a DNS label. This field is required."

fn withPodGroupTemplates

withPodGroupTemplates(podGroupTemplates)

"podGroupTemplates is the list of templates for children PodGroups. The maximum number of templates is 8. At least one entry in CompositePodGroupTemplates or PodGroupTemplates must be set."

fn withPodGroupTemplatesMixin

withPodGroupTemplatesMixin(podGroupTemplates)

"podGroupTemplates is the list of templates for children PodGroups. The maximum number of templates is 8. At least one entry in CompositePodGroupTemplates or PodGroupTemplates must be set."

Note: This function appends passed data to existing values

fn withPreemptionPolicy

withPreemptionPolicy(preemptionPolicy)

"preemptionPolicy is the Policy for preempting pods/podgroups with lower priority. One of Never, PreemptLowerPriority. This field is immutable. This field is available only when the PodGroupPreemptionPolicy feature gate is enabled."

fn withPriority

withPriority(priority)

"priority is the value of priority of composite pod groups created from this template. Various system components use this field to find the priority of the composite pod group. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. This field is immutable."

fn withPriorityClassName

withPriorityClassName(priorityClassName)

"priorityClassName indicates the priority that should be considered when scheduling a composite pod group created from this template. If no priority class is specified, admission control can set this to the global default priority class if it exists. Otherwise, composite pod groups created from this template will have the priority set to zero. This field is immutable."

obj disruptionMode

"CompositeDisruptionMode defines how individual entities within a composite pod group can be disrupted. Exactly one mode must be set."

fn disruptionMode.withAll

withAll(all)

"AllCompositeDisruptionMode means that children of a CompositePodGroup can only be disrupted or preempted together."

fn disruptionMode.withAllMixin

withAllMixin(all)

"AllCompositeDisruptionMode means that children of a CompositePodGroup can only be disrupted or preempted together."

Note: This function appends passed data to existing values

fn disruptionMode.withSingle

withSingle(single)

"SingleCompositeDisruptionMode means that individual children of a CompositePodGroup can be disrupted or preempted independently."

fn disruptionMode.withSingleMixin

withSingleMixin(single)

"SingleCompositeDisruptionMode means that individual children of a CompositePodGroup can be disrupted or preempted independently."

Note: This function appends passed data to existing values

obj schedulingConstraints

"CompositePodGroupSchedulingConstraints defines scheduling constraints (e.g. topology) for a CompositePodGroup."

fn schedulingConstraints.withTopology

withTopology(topology)

"topology defines the topology constraints for the composite pod group. Currently only a single topology constraint can be specified. This may change in the future."

fn schedulingConstraints.withTopologyMixin

withTopologyMixin(topology)

"topology defines the topology constraints for the composite pod group. Currently only a single topology constraint can be specified. This may change in the future."

Note: This function appends passed data to existing values

obj schedulingPolicy

"CompositePodGroupSchedulingPolicy defines the scheduling configuration for a CompositePodGroup. Exactly one policy must be set."

fn schedulingPolicy.withBasic

withBasic(basic)

"CompositeBasicSchedulingPolicy indicates that the groups belonging to the composite group should be scheduled independently."

fn schedulingPolicy.withBasicMixin

withBasicMixin(basic)

"CompositeBasicSchedulingPolicy indicates that the groups belonging to the composite group should be scheduled independently."

Note: This function appends passed data to existing values

obj schedulingPolicy.gang

"CompositeGangSchedulingPolicy indicates that the groups belonging to the composite group should be scheduled using all-or-nothing semantics."

fn schedulingPolicy.gang.withMinGroupCount

withMinGroupCount(minGroupCount)

"minGroupCount is the minimum number of child groups that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer."