Pod Specification Reference#
Tip
Looking for a step-by-step guide? Check out Create Customization Config.
For a complete reference of all pod specification options including node affinity, annotations, and advanced Kubernetes scheduling:
TrainingPodSpecInput object
Properties
node_selectors object
Additional arguments for node selector
Additional properties schema:
[key: string] string
annotations object
Additional arguments for annotations
Additional properties schema:
[key: string] string
tolerations array
Additional arguments for tolerations
Array items:
item object
Properties
key string
Taint key that the toleration applies to
operator string
Operator: "Exists" or "Equal"
Default:
Equalvalue string
Value to match
effect string
Taint effect to match: "NoSchedule", "PreferNoSchedule", or "NoExecute"
tolerationSeconds integer
Only for NoExecute; how long the toleration lasts
node_affinity object
The kubernentes node affinity to apply to the training pods
Properties
requiredDuringSchedulingIgnoredDuringExecution object
Properties
nodeSelectorTerms * array
Array items:
item object
Properties
matchExpressions array
Array items:
item object
Properties
key * string
operator * string
Allowed values:
InNotInExistsDoesNotExistGtLtvalues array
Array items:
item string
preferredDuringSchedulingIgnoredDuringExecution array
Array items:
item object
Properties
weight * integer
preference * object
Properties
matchExpressions array
Array items:
item object
Properties
key * string
operator * string
Allowed values:
InNotInExistsDoesNotExistGtLtvalues array
Array items:
item string
For more information about GPU cluster configurations, see Configure Cluster GPUs.