<p>It would be useful for me to be able to define at a higher level a way to determine a set of nodes that a set of pods should run ontop of.</p>

<p>Is there a way to use kustomize so that i can specify what nodeSelectors a deployment should have?</p>

yee379
<p>OP asks for a way for all pods to run on a pre-defined set of nodes. So, adding to @yee379, you may define a patch to be applied to multiple generic resources at once like this:</p>
<pre class="lang-yaml prettyprint-override"><code>patches:
  - patch: |-
      kind: not-important
      metadata:
        name: not-important
      spec:
        template:
          spec:
            nodeSelector:
              key: value
    target:
      kind: (StatefulSet|Deployment|Job)
  # ... Include more resources
  # If you'd like to include Pods specifically:
  - patch: |-
      kind: not-important
      metadata:
        name: not-important
      spec:
        nodeSelector:
          key: value
    target:
      kind: Pod
</code></pre>
