Skip to main content

Interface: PodGroupSpec

Defined in: lib/k8s/podGroup.ts:76

Properties​

disruptionMode?​

optional disruptionMode?: 
| "PodGroup"
| "Pod"
| PodGroupDisruptionMode;

Defined in: lib/k8s/podGroup.ts:99

v1alpha2 serves this as the string 'Pod' or 'PodGroup'; v1alpha3 and v1beta1 serve it as an object with a single or all field. Read it through the disruptionMode getter.


parentCompositePodGroupName?​

optional parentCompositePodGroupName?: string;

Defined in: lib/k8s/podGroup.ts:86

The composite group this group belongs to, when nested. Served by v1alpha3 and v1beta1.


podGroupTemplateRef?​

optional podGroupTemplateRef?: PodGroupTemplateReference;

Defined in: lib/k8s/podGroup.ts:79

Served by v1alpha2. Later versions use workloadRef instead.


preemptionPolicy?​

optional preemptionPolicy?: "Never" | "PreemptLowerPriority";

Defined in: lib/k8s/podGroup.ts:93

Served by v1alpha3 and v1beta1. Whether preemption may evict lower priority pods.


priority?​

optional priority?: number;

Defined in: lib/k8s/podGroup.ts:89


priorityClassName?​

optional priorityClassName?: string;

Defined in: lib/k8s/podGroup.ts:88

Set only when the WorkloadAwarePreemption feature gate is enabled.


resourceClaims?​

optional resourceClaims?: PodGroupResourceClaim[];

Defined in: lib/k8s/podGroup.ts:103

Set only when the DRAWorkloadResourceClaims feature gate is enabled.


schedulingConstraints?​

optional schedulingConstraints?: PodGroupSchedulingConstraints;

Defined in: lib/k8s/podGroup.ts:101

Set only when the TopologyAwareWorkloadScheduling feature gate is enabled.


schedulingPolicy​

schedulingPolicy: PodGroupSchedulingPolicy;

Defined in: lib/k8s/podGroup.ts:77


workloadRef?​

optional workloadRef?: PodGroupWorkloadReference;

Defined in: lib/k8s/podGroup.ts:81

Served by v1alpha3 and v1beta1. v1alpha2 uses podGroupTemplateRef instead.