gray-ocean-62145
07/13/2023, 2:10 PMinterruptible=True
)? And if not, is this something that would be considered?
My justification is this - currently with nodeSelector, it can easily make a task unschedulable, for example we do not run GPUs on Spot nodes so a GPU task with interruptible=True
will never be schedulable. By using nodeAffinity instead of nodeSelector, this behaviour can be configured by the user with either requiredDuringSchedulingIgnoredDuringExecution
or preferredDuringSchedulingIgnoredDuringExecution
elegant-australia-91422
07/13/2023, 4:59 PMnodeAffinity
as well.elegant-australia-91422
07/13/2023, 4:59 PMgray-ocean-62145
07/13/2023, 5:01 PMelegant-australia-91422
07/13/2023, 9:40 PMhallowed-camera-82098
10/02/2023, 9:23 PMspec.containers[*].image
, spec.initContainers[*].image
, spec.activeDeadlineSeconds
, `spec.tolerations`" .elegant-australia-91422
10/02/2023, 9:24 PMhallowed-camera-82098
10/02/2023, 9:24 PMelegant-australia-91422
10/02/2023, 9:24 PMPodTemplate
- so we still have the separation of concerns between pipeline authors and lower-level infra details / they're separated by codeowners in our monorepo, but unfortunately we couldn't fully handle this on the cluster sideelegant-australia-91422
10/02/2023, 9:25 PMPodTemplate
seems much more functional than the previous hand-rolled PodTask we'd written, and you can specify a full podspec properly there (including nodeAffinity terms, podAntiAffinity, etc)