Fix kubeadm v1beta1 configuration taint (#3928)

* Use master node taint same as kubeadm configuration v1alpha3 or before.
This commit is contained in:
okamototk
2019-01-03 03:42:23 -08:00
committed by Kubernetes Prow Robot
parent 13efa95ef7
commit 8216e821d3
2 changed files with 4 additions and 5 deletions
@@ -9,9 +9,8 @@ nodeRegistration:
{% endif %}
{% if inventory_hostname in groups['kube-master'] and inventory_hostname not in groups['kube-node'] %}
taints:
- key: "kubeadmNode"
value: "master"
effect: "NoSchedule"
- effect: NoSchedule
key: node-role.kubernetes.io/master
{% endif %}
{% if container_manager == 'crio' %}
criSocket: /var/run/crio/crio.sock