WorkloadSpec
io.k8s.api.scheduling.v1alpha1.WorkloadSpec
source ↗
WorkloadSpec defines the desired state of a Workload.
controllerRefTypedLocalObjectReferenceControllerRef 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. When set, it cannot be changed.
apiGroupstringAPIGroup 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.kindstring requiredKind is the type of resource being referenced. It must be a path segment name.namestring requiredName is the name of resource being referenced. It must be a path segment name.podGroups[]PodGroup requiredPodGroups is the list of pod groups that make up the Workload. The maximum number of pod groups is 8. This field is immutable.
namestring requiredName is a unique identifier for the PodGroup within the Workload. It must be a DNS label. This field is immutable.policyPodGroupPolicy requiredPolicy defines the scheduling policy for this PodGroup.
basicBasicSchedulingPolicyBasic specifies that the pods in this group should be scheduled using standard Kubernetes scheduling behavior.gangGangSchedulingPolicyGang specifies that the pods in this group should be scheduled using all-or-nothing semantics.
minCountinteger (int32) requiredMinCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer.