Skip to content

scheduling.v1alpha1.workloadSpec

"WorkloadSpec defines the desired state of a Workload."

Index

Fields

fn withPodGroups

withPodGroups(podGroups)

"PodGroups is the list of pod groups that make up the Workload. The maximum number of pod groups is 8. This field is immutable."

fn withPodGroupsMixin

withPodGroupsMixin(podGroups)

"PodGroups is the list of pod groups that make up the Workload. The maximum number of pod groups 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."