In the current implementation of MR3, you cannot specify node affinity rules for master and worker pods. For worker pods, you can control their placement with node selectors (mr3.k8s.pod.worker.node.selector) and tolerations (mr3.k8s.pod.worker.toleration.spec). For master pod, you can also use pod affinity rules (mr3.k8s.master.pod.affinity.match.label).
If node selectors and tolerations do not meet the need in your scenario, we can add support for node affinity rules. So, please let me know if you need node affinity rules.
Cheers,
--- Sungwoo