Skip to content

Commit aa7e63e

Browse files
authored
Merge pull request #150 from arangodb/bugfix/no-execute-tolerations-on-operator
Added no-execute tolerations on operators to failover quicker
2 parents bf880c1 + f28ea82 commit aa7e63e

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

manifests/templates/deployment/deployment.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,12 @@ spec:
5151
scheme: HTTPS
5252
initialDelaySeconds: 5
5353
periodSeconds: 10
54+
tolerations:
55+
- key: "node.kubernetes.io/unreachable"
56+
operator: "Exists"
57+
effect: "NoExecute"
58+
tolerationSeconds: 5
59+
- key: "node.kubernetes.io/not-ready"
60+
operator: "Exists"
61+
effect: "NoExecute"
62+
tolerationSeconds: 5

manifests/templates/storage/deployment.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,12 @@ spec:
5959
scheme: HTTPS
6060
initialDelaySeconds: 5
6161
periodSeconds: 10
62-
62+
tolerations:
63+
- key: "node.kubernetes.io/unreachable"
64+
operator: "Exists"
65+
effect: "NoExecute"
66+
tolerationSeconds: 5
67+
- key: "node.kubernetes.io/not-ready"
68+
operator: "Exists"
69+
effect: "NoExecute"
70+
tolerationSeconds: 5

0 commit comments

Comments
 (0)