kubernetes v1.37

CompositePodGroupTemplate.compositePodGroupTemplates.podGroupTemplates

PodGroupTemplate represents a template for a set of pods with a scheduling policy.

8 fields
CompositePodGroupTemplate.compositePodGroupTemplates.podGroupTemplates fields and descriptions
Field / TypeDescription
DisruptionMode

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

  • x-kubernetes-unions: [{"fields-to-discriminateBy":{"all":"All","single":"Single"}}]
name
string required

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

preemptionPolicy
string

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

priority is the value of priority of pod groups created from this template. Various system components use this field to find the priority of the pod group. The higher the value, the higher the priority. This field is immutable.

  • format: int32
priorityClassName
string

priorityClassName indicates the priority that should be considered when scheduling a pod group created from this template. This field is immutable.

PodGroupResourceClaim[]

resourceClaims defines which ResourceClaims may be shared among Pods in the group. Pods consume the devices allocated to a PodGroup's claim by defining a claim in its own Spec.ResourceClaims that matches the PodGroup's claim exactly. The claim must have the same name and refer to the same ResourceClaim or ResourceClaimTemplate. This is a beta-level field and requires that the DRAWorkloadResourceClaims feature gate is enabled. This field is immutable.

  • x-kubernetes-list-map-keys: ["name"]
  • x-kubernetes-list-type: "map"
  • x-kubernetes-patch-merge-key: "name"
  • x-kubernetes-patch-strategy: "merge,retainKeys"
PodGroupSchedulingConstraints

schedulingConstraints defines optional scheduling constraints (e.g. topology) for this PodGroupTemplate. This field is only available when the TopologyAwareWorkloadScheduling feature gate is enabled. This field is immutable.

PodGroupSchedulingPolicy required

schedulingPolicy defines the scheduling policy for this PodGroupTemplate.

  • x-kubernetes-unions: [{"fields-to-discriminateBy":{"basic":"Basic","gang":"Gang"}}]