Hi flyte team, is there any way we schedule the fl...
# flyte-support
m
Hi flyte team, is there any way we schedule the flyte workload on specific node type on gcp? We provisioned some compute node which has large memory and cpu and would like to schedule the workload on those, Thanks
g
You can set k8s labels (to let tasks select the node) and taints (to keep irrelevant tasks out) on the node pool. And then in the podSpecTemplate of the tasks you want to run on the workload you can set affinities (to select on the labels) and tolerations (to pass through the taint)
m
thanks
@gentle-tomato-480 this is an overwriting mechanism right? If in the podtemplate, I don' t specify anything else, will those be kept as default?
g
What do you mean, @mammoth-quill-44336?
m
for example, podtemplate have so many fields
what would happen to other fields if I only specify affinity
g
Kept to default, I assume, indeed.
m
nice
thanks!
g
FYI, haven't used PodTemplates myself, but that's what I would expect the behaviour to be
c
hey @mammoth-quill-44336 did this work for you?
m
Hi David, yes