Skip to content

Commit

Permalink
Allow calico-typha Deployment to be scheduled on all nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ffilippopoulos committed Sep 4, 2023
1 parent 2adff9b commit 21a2530
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
18 changes: 18 additions & 0 deletions base/calico-typha-tolerations.yaml
@@ -0,0 +1,18 @@
# Patch calico-typha Deployment to allow scheduling on all nodes until:
# https://github.com/projectcalico/calico/pull/7979 is merged/released.
apiVersion: apps/v1
kind: Deployment
metadata:
name: calico-typha
spec:
template:
spec:
tolerations:
# 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
13 changes: 7 additions & 6 deletions base/kustomization.yaml
Expand Up @@ -6,9 +6,10 @@ resources:
- apiserver.yaml
- calico-typha.yaml
- felix-metrics-svc.yaml
patchesStrategicMerge:
- apiserver-args.yaml
- apiserver-rolling-strategy.yaml
- calico-env-patch.yaml
- calico-init-patch.yaml
- calico-resources-patch.yaml
patches:
- path: apiserver-args.yaml
- path: apiserver-rolling-strategy.yaml
- path: calico-env-patch.yaml
- path: calico-init-patch.yaml
- path: calico-resources-patch.yaml
- path: calico-typha-tolerations.yaml

0 comments on commit 21a2530

Please sign in to comment.