platform9 / ssh-provider

SSH Machine Controller for the Cluster API
11 stars 4 forks source link

Not possible to indicate "no taints" #63

Open dlipovetsky opened 5 years ago

dlipovetsky commented 5 years ago

Due to https://github.com/kubernetes-sigs/cluster-api/issues/707 and https://github.com/kubernetes/kubeadm/issues/1358, it is not possible to indicate that a node should have no taints.

dlipovetsky commented 5 years ago

Since provider users want master Nodes to have no taints in order to allow Pods to be scheduled on them, I propose that users use the PreferNoSchedule taint. By using this taint, kubeadm will not set the NoSchedule taint, and Pods will be scheduled on master Nodes, unless other nodes have capacity: