diff --git a/charts/calico/templates/calico-typha.yaml b/charts/calico/templates/calico-typha.yaml index db62674807d..76f5d90ba8d 100644 --- a/charts/calico/templates/calico-typha.yaml +++ b/charts/calico/templates/calico-typha.yaml @@ -55,6 +55,11 @@ spec: # Mark the pod as a critical add-on for rescheduling. - key: CriticalAddonsOnly operator: Exists + # Make sure Typha can get scheduled on any nodes. + - effect: NoSchedule + operator: Exists + - effect: NoExecute + operator: Exists # 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 diff --git a/manifests/calico-policy-only.yaml b/manifests/calico-policy-only.yaml index 314fbd2d445..9b836119a5c 100644 --- a/manifests/calico-policy-only.yaml +++ b/manifests/calico-policy-only.yaml @@ -4702,6 +4702,11 @@ spec: # Mark the pod as a critical add-on for rescheduling. - key: CriticalAddonsOnly operator: Exists + # Make sure Typha can get scheduled on any nodes. + - effect: NoSchedule + operator: Exists + - effect: NoExecute + operator: Exists # 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 diff --git a/manifests/calico-typha.yaml b/manifests/calico-typha.yaml index 9a2b51e14f1..0b10e5f035e 100644 --- a/manifests/calico-typha.yaml +++ b/manifests/calico-typha.yaml @@ -4806,6 +4806,11 @@ spec: # Mark the pod as a critical add-on for rescheduling. - key: CriticalAddonsOnly operator: Exists + # Make sure Typha can get scheduled on any nodes. + - effect: NoSchedule + operator: Exists + - effect: NoExecute + operator: Exists # 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