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

This commit is contained in:
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 %}