Skip to content

Commit 777fbe2

Browse files
Merge pull request #311 from ravisantoshgudimetla/fix-tolerations
Fix tolerations
2 parents 411efc2 + 099cc03 commit 777fbe2

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

config/kubemark.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@ spec:
5858
- key: CriticalAddonsOnly
5959
operator: Exists
6060
- effect: NoExecute
61-
key: node.alpha.kubernetes.io/notReady
61+
key: node.kubernetes.io/not-ready
6262
operator: Exists
63+
tolerationSeconds: 120
6364
- effect: NoExecute
64-
key: node.alpha.kubernetes.io/unreachable
65+
key: node.kubernetes.io/unreachable
6566
operator: Exists
67+
tolerationSeconds: 120
6668
containers:
6769
- name: unready-nodes-gb
6870
image: gofed/kubemark-machine-controllers:v1.0

install/0000_30_machine-api-operator_09_deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ spec:
4949
- key: "node-role.kubernetes.io/master"
5050
operator: "Exists"
5151
effect: "NoSchedule"
52+
- key: "node.kubernetes.io/unreachable"
53+
operator: "Exists"
54+
effect: "NoExecute"
55+
tolerationSeconds: 120
56+
- key: "node.kubernetes.io/not-ready"
57+
operator: "Exists"
58+
effect: "NoExecute"
59+
tolerationSeconds: 120
5260
volumes:
5361
- name: images
5462
configMap:

owned-manifests/machine-api-controllers.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ spec:
3131
- key: CriticalAddonsOnly
3232
operator: Exists
3333
- effect: NoExecute
34-
key: node.alpha.kubernetes.io/notReady
34+
key: node.kubernetes.io/not-ready
3535
operator: Exists
36+
tolerationSeconds: 120
3637
- effect: NoExecute
37-
key: node.alpha.kubernetes.io/unreachable
38+
key: node.kubernetes.io/unreachable
3839
operator: Exists
40+
tolerationSeconds: 120
3941
containers:
4042
- name: controller-manager
4143
image: {{ .Controllers.Provider }}

0 commit comments

Comments
 (0)