Jelajahi Sumber

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 tahun lalu
induk
melakukan
4ccd102268
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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"