Browse Source

sync: tolerate all taints

Some nodes may be tainted and disallow scheduling new pods. This should 
not apply to sync pods, as these should at least attempt to run on all 
nodes
Vadim Rutkovsky 6 years ago
parent
commit
4ccd102268
1 changed files with 3 additions and 0 deletions
  1. 3 0
      roles/openshift_node_group/files/sync.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"