Hi All, Is there command forcefully assigning pod to different node .. currently . . .

Prasanth Babu:
Hi All, Is there command forcefully assigning pod to different node … currently it’s under wrong node and even after delete , it’s catching old node

Vinay M Athreyas:
One way is to define the node in config itself to choose which ever node you need
otherway is to just drain the node which you don’t want pod to be placed

Prasanth Babu:
ok vinay

Fernando Jordan Silva:
No, please don’t use drain… using drain you are removing a node from the cluster. What happen if there are multiple users at the same time using the cluster?
To assign a pod to an specific node you have to use affinity or nodeSelector or nodeName…. There are several options for that