Skip to content

scheduling.v1alpha2.workloadSpec

"WorkloadSpec defines the desired state of a Workload."

Index

Fields

fn withPodGroupTemplates

withPodGroupTemplates(podGroupTemplates)

"PodGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. This field is immutable."

fn withPodGroupTemplatesMixin

withPodGroupTemplatesMixin(podGroupTemplates)

"PodGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. This field is immutable."

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