Hey Alex dont know if this helps but we use node selectors with specific tags like this:
{
"dagster-k8s/config": {
"container_config": {
"env": [
{
"name": "DD_AGENT_HOST",
"valueFrom": {"fieldRef": {"fieldPath": "status.hostIP"}},
}
],
"resources": {
"requests": {"cpu": "125m", "memory": "250Mi"},
"limits": {"cpu": "500m", "memory": "2Gi"},
},
},
"pod_spec_config": {
"affinity": {
"nodeAffinity": {
"requiredDuringSchedulingIgnoredDuringExecution": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "type",
"operator": "In",
"values": [
"data-worker",
],
}
]
}
]
}
}
},
},
},
}