Browse Source

Merge pull request #10310 from vrutkovs/sync-tolerate-taints

sync: tolerate all taints
OpenShift Merge Robot 6 years ago
parent
commit
886d5738cb
2 changed files with 6 additions and 1 deletions
  1. 3 0
      roles/openshift_node_group/files/sync.yaml
  2. 3 1
      roles/openshift_sdn/files/sdn.yaml

+ 3 - 0
roles/openshift_node_group/files/sync.yaml

@@ -196,3 +196,6 @@ spec:
       - hostPath:
           path: /run/systemd/system
         name: run-systemd-system
+      # Sync daemonset should tolerate all taints to make sure it runs on all nodes
+      tolerations:
+      - operator: "Exists"

+ 3 - 1
roles/openshift_sdn/files/sdn.yaml

@@ -38,7 +38,7 @@ spec:
       # It relies on an up to date node-config.yaml being present.
       - name: sdn
         image: " "
-        command: 
+        command:
         - /bin/bash
         - -c
         - |
@@ -204,3 +204,5 @@ spec:
       - name: host-var-lib-cni-networks-openshift-sdn
         hostPath:
           path: /var/lib/cni/networks/openshift-sdn
+      tolerations:
+      - operator: "Exists"