Can we assign any pod to master node?

Subhankar Banerjee:
can we assign any pod to master node ?

Umakanta:
yes. unless u have taints in the master node… and if you have taint in it , the pod having appropraite tolerations can be assigned to the master.

Ayush Jain:
You can also assign Static pods while having taints on the master node. Also, if you specify the nodeName parameter on the pod definition, then the manual scheduling will override the taints.

Hamza Belmellouki:
Yes, you can run your workloads on the master but it’s not recommended in the real world as you want the controlplane node resources to be dedicated to the parts like scheduler, controller and etcd running on it.

Hamza Belmellouki:
If you want, you can remove the taint from the master node, note that if you untaint the master node then all the newly created pods, with or without tolerations will be eligible for scheduling in the master node (except if they have a nodeName, nodeSelector , nodeAffinity rules) since the master node isn’t protected by any taint.
If you want to schedule only a specific pod on the master node add a toleration in the pod and a use nodeName or nodeSelector or nodeAffinity features