Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YUNIKORN-2108] Document preemption.enabled setting #362

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions docs/user_guide/queue_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,26 @@ Optionally the following keys can be defined for a partition:
* [statedumpfilepath](#statedump-filepath) (deprecated since v1.2.0)
* [limits](#limits)
* nodesortpolicy
* preemption (deprecated since v1.3.0)
* preemption

Placement rules and limits are explained in their own chapters

The `nodesortpolicy` key defines the way the nodes are sorted for the partition.
Details on the values that can be used are in the [sorting policy](sorting_policies.md#node-sorting) documentation.

The `preemption` key can have only one sub key: _enabled_. NOTE: This property
has been deprecated since v1.3.0 and will be ignored. Preemption policies are
now configured per-queue.
The `preemption` key can have only one sub key: _enabled_.
This boolean value defines the preemption behavior for the whole partition.

Example `partition` yaml entry with a `nodesortpolicy` of _fair_:
The default value for _enabled_ is _true_.
Allowed values: _true_ or _false_, any other value will cause a parse error.

Example `partition` yaml entry with a `nodesortpolicy` of _fair_ and preemption disabled:
```yaml
partitions:
- name: <name of the partition>
nodesortpolicy: fair
preemption:
enabled: false
```
NOTE:
Currently the Kubernetes unique shim does not support any other partition than the `default` partition..
Expand Down