fix-missing-control-plane-taint (#9592)

pull/9585/head
Kay Yan 2022-12-20 07:57:43 +08:00 committed by GitHub
parent 491e260d20
commit fc0d58ff48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@ nodeRegistration:
taints: taints:
- effect: NoSchedule - effect: NoSchedule
key: node-role.kubernetes.io/master key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
{% else %} {% else %}
taints: [] taints: []
{% endif %} {% endif %}

View File

@ -23,6 +23,8 @@ nodeRegistration:
taints: taints:
- effect: NoSchedule - effect: NoSchedule
key: node-role.kubernetes.io/master key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
{% else %} {% else %}
taints: [] taints: []
{% endif %} {% endif %}