docs: job-specification: Explain that priority has no effect on run order (#13835)

Makes the issues from #9845 and #12792 less surprising to the user.
This commit is contained in:
Niklas Hambüchen
2022-07-19 14:55:29 +02:00
committed by GitHub
parent 7e29f64aec
commit d18df07ccb

View File

@@ -105,6 +105,8 @@ job "docs" {
- `priority` `(int: 50)` - Specifies the job priority which is used to
prioritize scheduling and access to resources. Must be between 1 and 100
inclusively, with a larger value corresponding to a higher priority.
Priority only has an effect when job preemption is enabled.
It does not have an effect on which of multiple pending jobs is run first.
- `region` `(string: "global")` - The region in which to execute the job.