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 năm trước cách đây
mục cha
commit
4ccd102268
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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"