FrankYang0529 commented on code in PR #304:
URL: https://github.com/apache/yunikorn-site/pull/304#discussion_r1205334113


##########
docs/user_guide/queue_config.md:
##########
@@ -367,6 +367,26 @@ value (in other words, the priorities of tasks in the 
queue are ignored).
 
 See the documentation on [priority support](priorities.md) for more 
information.
 
+#### `preemption.policy`
+
+Supported values: `default`, `fence`, `disabled`
+
+Default value: `default`
+
+When using the `default` preemption policy, there is no limit preemption to 
the subtree.
+
+When using the [`fence` preemption 
policy](../design/preemption.md#preemption-fence), tasks running in or below 
the queue on which the property is set cannot preempt tasks outside the queue 
tree.
+
+When using the `disabled` preemption policy, tasks below the queue can't be 
victims.
+
+#### `preemption.delay`
+
+Supported values: any positive [Golang duration 
string](https://pkg.go.dev/time#ParseDuration)
+
+Default value: `30s`
+
+The property can only be set on a leaf queue. A queue with pending requests 
can only trigger the preemption after its resouice has been below its 
guaranteed resource for at least the duration.

Review Comment:
   Updated it. Thanks!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to