Skip to content

Commit

Permalink
Merge pull request #843 from ravisantoshgudimetla/fix-tolerations
Browse files Browse the repository at this point in the history
Fix tolerations
  • Loading branch information
openshift-merge-robot authored May 7, 2019
2 parents 7c22f02 + 688edfc commit 8218b59
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 9 deletions.
12 changes: 11 additions & 1 deletion Documentation/install/local-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,17 @@ package:
service:
internalPort: 5443
tolerations:
- operator: Exists
- key: node-role.kubernetes.io/master
operator: Exists
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120

catalog_sources:
- rh-operators
36 changes: 33 additions & 3 deletions deploy/ocp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,17 @@ olm:
beta.kubernetes.io/os: linux
node-role.kubernetes.io/master: ""
tolerations:
- operator: Exists
- key: node-role.kubernetes.io/master
operator: Exists
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
tlsCertPath: /var/run/secrets/serving-cert/tls.crt
tlsKeyPath: /var/run/secrets/serving-cert/tls.key
catalog:
Expand All @@ -31,7 +41,17 @@ catalog:
beta.kubernetes.io/os: linux
node-role.kubernetes.io/master: ""
tolerations:
- operator: Exists
- key: node-role.kubernetes.io/master
operator: Exists
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
package:
replicaCount: 2
image:
Expand All @@ -43,4 +63,14 @@ package:
beta.kubernetes.io/os: linux
node-role.kubernetes.io/master: ""
tolerations:
- operator: Exists
- key: node-role.kubernetes.io/master
operator: Exists
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
12 changes: 11 additions & 1 deletion manifests/0000_50_olm_07-olm-operator.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,15 @@ spec:
node-role.kubernetes.io/master: ""

tolerations:
- operator: Exists
- key: node-role.kubernetes.io/master
operator: Exists
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120

12 changes: 11 additions & 1 deletion manifests/0000_50_olm_08-catalog-operator.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,15 @@ spec:
node-role.kubernetes.io/master: ""

tolerations:
- operator: Exists
- key: node-role.kubernetes.io/master
operator: Exists
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120

13 changes: 11 additions & 2 deletions manifests/0000_50_olm_16-packageserver.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,17 @@ spec:
node-role.kubernetes.io/master: ""

tolerations:
- operator: Exists

- key: node-role.kubernetes.io/master
operator: Exists
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
containers:
- name: packageserver
command:
Expand Down
12 changes: 11 additions & 1 deletion manifests/0000_50_olm_17-packageserver.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@ spec:
node-role.kubernetes.io/master: ""

tolerations:
- operator: Exists
- key: node-role.kubernetes.io/master
operator: Exists
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 120

containers:
- name: packageserver
Expand Down

0 comments on commit 8218b59

Please sign in to comment.