You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by wi...@apache.org on 2022/12/05 02:30:41 UTC
[yunikorn-site] branch master updated: [YUNIKORN-1346] Mistake in online sample code (#221)
This is an automated email from the ASF dual-hosted git repository.
wilfreds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git
The following commit(s) were added to refs/heads/master by this push:
new 836c81bae [YUNIKORN-1346] Mistake in online sample code (#221)
836c81bae is described below
commit 836c81baed6a8b59d680e84460789c4fed638a5a
Author: Max-Cheng <aa...@gmail.com>
AuthorDate: Mon Dec 5 13:29:20 2022 +1100
[YUNIKORN-1346] Mistake in online sample code (#221)
Set correct yaml for the sample configuration with parent rule.
Closes: #221
Signed-off-by: Wilfred Spiegelenburg <wi...@apache.org>
---
docs/user_guide/resource_quota_mgmt.md | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/docs/user_guide/resource_quota_mgmt.md b/docs/user_guide/resource_quota_mgmt.md
index ecc703dbe..9233142a3 100644
--- a/docs/user_guide/resource_quota_mgmt.md
+++ b/docs/user_guide/resource_quota_mgmt.md
@@ -273,19 +273,21 @@ First we set the following configuration to YuniKorn's configmap:
```yaml
partitions:
- - name: default
- placementrules:
- - name: tag
- value: namespace
- create: true
- parent:
- - name: tag
- value: namespace.parentqueue
- queues:
- - name: root
- queues:
- - name: production
- - name: development
+ - name: default
+ placementrules:
+ - name: tag
+ value: namespace
+ create: true
+ parent:
+ name: tag
+ value: namespace.parentqueue
+ queues:
+ - name: root
+ queues:
+ - name: production
+ parent: true
+ - name: development
+ parent: true
```
The configuration used for the namespace to queue mapping is the same as [above](#Namespace-to-queue-mapping).