Merge pull request #2539 from andreychernih/calico-critical

Mark calico-node pods as critical
This commit is contained in:
Chris Love 2017-06-04 12:04:49 -07:00 committed by GitHub
commit 0b7ed89cb9
2 changed files with 7 additions and 0 deletions

View File

@ -112,6 +112,8 @@ spec:
labels:
k8s-app: calico-node
role.kubernetes.io/networking: "1"
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
hostNetwork: true
serviceAccountName: calico

View File

@ -58,6 +58,11 @@ spec:
labels:
k8s-app: calico-node
role.kubernetes.io/networking: "1"
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
scheduler.alpha.kubernetes.io/tolerations: |
[{"key": "dedicated", "value": "master", "effect": "NoSchedule" },
{"key":"CriticalAddonsOnly", "operator":"Exists"}]
spec:
hostNetwork: true
containers: