WorkloadSpec
WorkloadSpec defines the desired state of a Workload.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/scheduling.api.k8s.io/WorkloadSpec_v1alpha1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/scheduling.api.k8s.io/WorkloadSpec_v1alpha1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
controllerRefobjectControllerRef 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.
podGroupsarrayRequiredPodGroups is the list of pod groups that make up the Workload. The maximum number of pod groups is 8. This field is immutable.