Hi team, once more question, we are trying to spli...
# ask-metaflow
g
Hi team, once more question, we are trying to split eks cluster into multiple environments (e.g qa, prod) through nodeSelector or node affinity, which needs the pod on which the metaflow script runs specifies the label of the node that the pods runs on. However, when we use @kubernetes, I only see we can add
namespace
as the argument, will we support to allow we specify the node label in that @kubernetes decorator? Thanks!
✅ 1
a
you can specify
node_selector
as an arg. it is not documented right now but we will fix that shortly
🙌 1
g
That’s awesome. Thanks!
Btw, does it support node affinity and taints? node selector should work for what we need, but node affinity and taints may be more flexible.
a
yep - we support
tolerations
you can taint your nodes and add the corresponding tolerations in your metaflow flow
g
wow, so `tolerations`is also a supported argument now? Look forward to seeing it in the document too.
a
g
my bad, didn't notice it. Thanks!