Browse Source

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

pull/9585/head
Kay Yan 1 year ago
committed by GitHub
parent
commit
fc0d58ff48
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions
  1. 2
      roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2
  2. 2
      roles/kubernetes/control-plane/templates/kubeadm-controlplane.v1beta3.yaml.j2

2
roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2

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

2
roles/kubernetes/control-plane/templates/kubeadm-controlplane.v1beta3.yaml.j2

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

Loading…
Cancel
Save