Skip to main content
Schemaobject

io.k8s.api.scheduling.v1alpha3.WorkloadSpec

WorkloadSpec defines the desired state of a Workload.

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

compositePodGroupTemplates is the list of CompositePodGroup templates that make up the Workload. The maximum number of templates is 8. This field is immutable. Exactly one of CompositePodGroupTemplates and PodGroupTemplates must be set. This field is used only when the CompositePodGroup feature gate is enabled.

controllerRef
optional

controllerRef is an optional reference to the controlling object, such as a Deployment or Job. This field is intended for use by tools like CLIs to provide a link back to the original workload definition. This field is immutable.

podGroupTemplates array
optional

podGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. Templates cannot be added or removed after the workload is created. Existing templates may still be updated where their individual fields allow it. Exactly one of CompositePodGroupTemplates and PodGroupTemplates must be set.