OS
Schema Hub

GangSchedulingPolicy

GangSchedulingPolicy defines the parameters for gang scheduling.

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

Resource Structure

minCountintegerRequired
MinCount 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.