Skip to content

Commit

Permalink
Added no-execute tolerations on operators to failover quicker
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoutp committed Jun 1, 2018
1 parent 63835bb commit 858a5ba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
9 changes: 9 additions & 0 deletions manifests/templates/deployment/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,12 @@ spec:
scheme: HTTPS
initialDelaySeconds: 5
periodSeconds: 10
tolerations:
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 5
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 5
10 changes: 9 additions & 1 deletion manifests/templates/storage/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,12 @@ spec:
scheme: HTTPS
initialDelaySeconds: 5
periodSeconds: 10

tolerations:
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 5
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 5

0 comments on commit 858a5ba

Please sign in to comment.