Pods are deployed on control/etcd nodes then on worker

Hi,
I have a testcluster with 2 nodes, 1: etc/control 2:worker

I saw that my pods first got deployed to the etc/control node. How can I change this behaviour? Of course I can taint them, but I don’t really want to do that manually, cause this should be done by the node template.

How do you do it?

Just bumped into the same problem.

I believe this is a known issue that we are addressing

I am solving this temporary with the following node patches.

kubectl patch node -p ‘{“metadata”:{“labels”:{“node-role.kubernetes.io/master":"”}}}’
kubectl patch node -p ‘{“spec”:{“taints”:[{“effect”:“NoSchedule”,“key”:“node-role.kubernetes.io/master”}]}}’