Skip to content

scheduling.v1alpha3.workloadSpec

"WorkloadSpec defines the desired state of a Workload."

Index

Fields

fn withCompositePodGroupTemplates

withCompositePodGroupTemplates(compositePodGroupTemplates)

"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.\n\nThis field is used only when the CompositePodGroup feature gate is enabled."

fn withCompositePodGroupTemplatesMixin

withCompositePodGroupTemplatesMixin(compositePodGroupTemplates)

"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.\n\nThis field is used only when the CompositePodGroup feature gate is enabled."

Note: This function appends passed data to existing values

fn withPodGroupTemplates

withPodGroupTemplates(podGroupTemplates)

"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."

fn withPodGroupTemplatesMixin

withPodGroupTemplatesMixin(podGroupTemplates)

"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."

Note: This function appends passed data to existing values

obj controllerRef

"TypedLocalObjectReference allows to reference typed object inside the same namespace."

fn controllerRef.withApiGroup

withApiGroup(apiGroup)

"apiGroup is the group for the resource being referenced. If APIGroup is empty, the specified Kind must be in the core API group. For any other third-party types, setting APIGroup is required. It must be a DNS subdomain."

fn controllerRef.withKind

withKind(kind)

"kind is the type of resource being referenced. It must be a path segment name."

fn controllerRef.withName

withName(name)

"name is the name of resource being referenced. It must be a path segment name."