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 2023/05/23 06:32:45 UTC

[yunikorn-site] branch master updated: [YUNIKORN-1757] Placement Rules: fix complex example (#299)

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 a6d51636f [YUNIKORN-1757] Placement Rules: fix complex example (#299)
a6d51636f is described below

commit a6d51636fd5e90aeb2eb4067ca3923ac430dc456
Author: Mit Desai <mi...@gmail.com>
AuthorDate: Tue May 23 16:31:51 2023 +1000

    [YUNIKORN-1757] Placement Rules: fix complex example (#299)
    
    The Parent entry is not an array but a single entry. Fix example to
    align with the implementation.
    
    Closes: #299
    
    Signed-off-by: Wilfred Spiegelenburg <wi...@apache.org>
---
 docs/user_guide/placement_rules.md | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/user_guide/placement_rules.md b/docs/user_guide/placement_rules.md
index 39206bd62..3b8b14358 100644
--- a/docs/user_guide/placement_rules.md
+++ b/docs/user_guide/placement_rules.md
@@ -308,18 +308,18 @@ placementrules:
       groups:
         - dev*
     parent:
-      - name: tag
-        value: namespace
+      name: tag
+      value: namespace
   - name: tag
     value: namespace
     create: true
     parent:
-      - name: fixed
-        value: root.namespaces
-        filter:
-          type: allow
-          users:
-            - john
+      name: fixed
+      value: root.namespaces
+      filter:
+        type: allow
+        users:
+          - john
   - name: fixed
     value: root.default
 ```