Hey, I’m wondering if there’s a supported way for ...
# ask-community
h
Hey, I’m wondering if there’s a supported way for the prefect agent to run jobs using a specific kubernetes nodeselector? For example, a flow labeled
high-memory
runs on a
high-memory
agent which spawns jobs via a
high-memory
nodeselector.
m
You can provide a custom job template to the agent or KubernetesRun, and specify node selector in the template. Also, you could spin up a second agent with label
high-memory
and provide a custom job template with
high-memory
node selector.
h
That’s great. thank you!