Fix kubeadm v1beta1 configuration taint (#3928)

* Use master node taint same as kubeadm configuration v1alpha3 or before.
pull/3975/head
okamototk 2019-01-03 20:42:23 +09:00 committed by Kubernetes Prow Robot
parent 13efa95ef7
commit 8216e821d3
2 changed files with 4 additions and 5 deletions

View File

@ -52,9 +52,9 @@ ingress_nginx_enabled: false
# ingress_nginx_nodeselector: # ingress_nginx_nodeselector:
# node-role.kubernetes.io/master: "" # node-role.kubernetes.io/master: ""
# ingress_nginx_tolerations: # ingress_nginx_tolerations:
# - key: "key" # - key: "node-role.kubernetes.io/master"
# operator: "Equal" # operator: "Equal"
# value: "value" # value: ""
# effect: "NoSchedule" # effect: "NoSchedule"
# ingress_nginx_namespace: "ingress-nginx" # ingress_nginx_namespace: "ingress-nginx"
# ingress_nginx_insecure_port: 80 # ingress_nginx_insecure_port: 80

View File

@ -9,9 +9,8 @@ nodeRegistration:
{% endif %} {% endif %}
{% if inventory_hostname in groups['kube-master'] and inventory_hostname not in groups['kube-node'] %} {% if inventory_hostname in groups['kube-master'] and inventory_hostname not in groups['kube-node'] %}
taints: taints:
- key: "kubeadmNode" - effect: NoSchedule
value: "master" key: node-role.kubernetes.io/master
effect: "NoSchedule"
{% endif %} {% endif %}
{% if container_manager == 'crio' %} {% if container_manager == 'crio' %}
criSocket: /var/run/crio/crio.sock criSocket: /var/run/crio/crio.sock