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 <[email protected]>
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 <[email protected]>
---
 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).

Reply via email to