OS
Schema Hub

PodGroupPolicy

PodGroupPolicy defines the scheduling configuration for a PodGroup.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/scheduling.api.k8s.io/PodGroupPolicy_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/PodGroupPolicy_v1alpha1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

basicobject
Basic specifies that the pods in this group should be scheduled using standard Kubernetes scheduling behavior.
gangobject
Gang specifies that the pods in this group should be scheduled using all-or-nothing semantics.