https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
t

Timothy Elder

07/31/2023, 6:28 PM
Anyone know how to use pod_spec_config with the K8's job executor so that specific dagster ops run on a particular node? Tried setting it up with pod_spec_config={nodeSelector": name=<name in tag>} however that didn't work...
a

Adam Bloom

07/31/2023, 6:33 PM
This works with the k8s run launcher, so 🤞 it works with the job executor too:
Copy code
{
  "node_selector": {
    "<node tag key>": "<tag value>"
  }
}
so, close to what you had, but just made the key=value a nested dictionary
👍 1