Ver código fonte

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 anos atrás
pai
commit
4ccd102268
1 arquivos alterados com 3 adições e 0 exclusões
  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"