Kubernetes deploying container in master Kubernetes deploying container in master kubernetes kubernetes

Kubernetes deploying container in master


If you want no Pods to be scheduled on the master you will need to taint the master node:

kubectl taint nodes nameofmaster dedicated=master:NoSchedule

Read up on taints and tolerations to understand the consequences and how to schedule specific Pods on the now tainted master node. To undo use kubectl taint nodes nameofmaster dedicated-