Quellcode durchsuchen

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 vor 6 Jahren
Ursprung
Commit
4ccd102268
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  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"