Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow calico-typha Deployment to be scheduled on all nodes
- Loading branch information
1 parent
2adff9b
commit 21a2530
Showing
2 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters