<p>I've a requirement where I want to schedule a specific type of pod on a particular node and no other types of pod should get scheduled on that node. For example,</p>

<p>Assuming that I've 3 worker nodes - w1, w2 and w3
I want pods of type(say POD-w2) should always get scheduled on w2 and no other type of pods should get scheduled on w2. </p>

ahmed meraj
<p>Add a label type=w2 to worker 2.</p>

<p>Use node selector or node affinity to schedule required pods on that node. </p>

<p>For other pods use node anti affinity to prevent other pods getting scheduled on to the worker 2</p>
