Job not scheduled on untainted master node


#1

I have a local cluster with master + 1 worker node. I have untainted the master node so jobs should be able to run on master.
But when I started multiple jobs (e.g. kubectl create -f job.yaml), they all ran on the worker node and nothing got scheduled on the master.

Some command output in case it’s helpful:

$kubectl taint nodes --all node-role.kubernetes.io/master-
taint “node-role.kubernetes.io/master:” not found
taint “node-role.kubernetes.io/master:” not found

$kubectl get nodes
NAME STATUS ROLES AGE VERSION
u1 Ready 3d21h v1.13.1
ubuntu Ready master 3d22h v1.13.1

What should I do to make jobs run on master?