You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: Documentation/unit-files-and-scheduling.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Note that these requirements are derived directly from systemd, with the only ex
22
22
|`MachineOf`| Limit eligible machines to the one that hosts a specific unit. |
23
23
|`MachineMetadata`| Limit eligible machines to those with this specific metadata. |
24
24
|`Conflicts`| Prevent a unit from being collocated with other units using glob-matching on the other unit names. |
25
-
|`Global`| Schedule this unit on all agents in the cluster. A unit is considered invalid if options other than `MachineMetadata` are provided alongside `Global=true`. |
25
+
|`Global`| Schedule this unit on those agents in the cluster, which satisfy the conditions of both `MachineMetadata` and `Conflicts` if any of them is also given. A unit is considered invalid if options other than `MachineMetadata`and `Conflicts`are provided alongside `Global=true`. If `MachineMetadata` is provided alongside `Global=true`, only the agents having the metadata can be scheduled on. If `Conflicts` is provided alongside `Global=true`, only the agents not having the conflicting units can be scheduled on. The conflicting units also can not be scheduled on the agents which already have the existing conflicting global unit.|
26
26
|`Replaces`| Schedule a specified unit on another machine. A unit is considered invalid if options `Global` or `Conflicts` are provided alongside `Replaces=`. A circular replacement between multiple units is not allowed. |
27
27
28
28
See [more information][unit-scheduling] on these parameters and how they impact scheduling decisions.
0 commit comments