<p>I am new to Kubernetes. Is there a way to assign pod by CRD to the specific Node under the Operator pattern?</p>
<p>I tried to use both <code>nodeSelector</code> and affinity for <code>operator.yaml</code> and each <code>CRDs.yaml</code>,
but it is effective for the operator only.</p>
<p>How can I assign pod by CRDs to the specific node?</p>
<p>Thanks.</p>

유지영
<p>Make sure you've passed the nodeSelector/affinity from Custom Resource (CR) spec to Pod spec.</p>
<p>While creating the Pod,</p>
<pre><code>pod.spec.containers.nodeSelector = crd.spec.&lt;your-path&gt;.nodeSelector
</code></pre>
