Skip to main content
Schemaobject

io.k8s.api.scheduling.v1beta1.CompositePodGroupTemplate

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

Source
specs/apis__scheduling.k8s.io__v1beta1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
compositePodGroupTemplates array
optional

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.

disruptionMode
optional

disruptionMode defines the mode in which a given CompositePodGroup can be disrupted. One of Single, All. This field is immutable.

name string
required

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

podGroupTemplates array
optional

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.

preemptionPolicy string
optional

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.

priority integer (int32)
optional

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.

priorityClassName string
optional

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.

schedulingConstraints
optional

schedulingConstraints defines optional scheduling constraints (e.g. topology) for this CompositePodGroupTemplate. This field is immutable.

schedulingPolicy
required

schedulingPolicy defines the scheduling policy for this template.