https://flyte.org logo
#flyte-deployment
Title
# flyte-deployment
r

Ramsey Natour

02/14/2024, 8:28 PM
Cross-posting here: Can anyone tell me what the impact of configuring a
node-selector
on the k8s-array plugin is? Does this affect the pods that are spun up to fulfill a
map_task
or something else?
k

Kevin Su

02/14/2024, 8:36 PM
it’s a k8s node selector. you set it if you want to run map task on certain nodes
r

Ramsey Natour

02/14/2024, 8:40 PM
So does this mean that the pods spun up by the map_task will use that node? Or is this for the pod that manages the map_task itself?
Our use case is that we have a
@dynamic
that launches a
map_task
. We have a default
node-selector
configured on our k8 plugin that assigns tasks to nodes spun up by karpenter with the corresponding label attached, but it's not clear how the k8s-array node selector would be used here
d

David Espejo (he/him)

02/14/2024, 9:40 PM
So does this mean that the pods spun up by the map_task will use that node?
Correct
r

Ramsey Natour

02/14/2024, 9:43 PM
Gotcha - thanks