Change node-role.kubernetes.io from master to control-plane (#7183)

This commit is contained in:
Florian Ruynat
2021-01-21 17:13:03 +01:00
committed by GitHub
parent 24ceee134e
commit 222a77dfe7
16 changed files with 68 additions and 6 deletions

View File

@@ -54,6 +54,9 @@ spec:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
# Since Calico can't network a pod until Typha is up, we need to run Typha itself
# as a host-networked pod.
serviceAccountName: calico-node

View File

@@ -414,6 +414,9 @@ spec:
- key: "node-role.kubernetes.io/master"
effect: "NoSchedule"
operator: "Exists"
- key: "node-role.kubernetes.io/control-plane"
effect: "NoSchedule"
operator: "Exists"
serviceAccountName: k8s-nfn-sa
containers:
- name: nfn-operator