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 04:48:17 UTC

[yunikorn-site] branch master updated: [YUNIKORN-1756] Option to generate unique app IDs (#298)

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 181f3cdf7 [YUNIKORN-1756] Option to generate unique app IDs (#298)
181f3cdf7 is described below

commit 181f3cdf79cca6a7af70502dd90d308e110b513c
Author: Mit Desai <mi...@oracle.com>
AuthorDate: Tue May 23 14:46:03 2023 +1000

    [YUNIKORN-1756] Option to generate unique app IDs (#298)
    
    Documentation for "admissionController.filtering.generateUniqueAppID", by
    default false, when set to true will generate unique application IDs for
    each pod.
    
    Closes: #298
    
    Signed-off-by: Wilfred Spiegelenburg <wi...@apache.org>
---
 docs/user_guide/service_config.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/user_guide/service_config.md b/docs/user_guide/service_config.md
index 5c707a53b..47ea9af78 100644
--- a/docs/user_guide/service_config.md
+++ b/docs/user_guide/service_config.md
@@ -454,6 +454,7 @@ data:
   admissionController.filtering.bypassNamespaces: "^kube-system$"
   admissionController.filtering.labelNamespaces: ""
   admissionController.filtering.noLabelNamespaces: ""
+  admissionController.filtering.generateUniqueAppId: "false"
   admissionController.accessControl.bypassAuth: "false"
   admissionController.accessControl.trustControllers: "true"
   admissionController.accessControl.systemUsers: "^system:serviceaccount:kube-system:"
@@ -800,6 +801,19 @@ Example:
 # Skip queueing in the noqueue namespace
 admissionController.filtering.labelNamespaces: "^noqueue$"
 ```
+#### admissionController.filtering.generateUniqueAppId
+YuniKorn generates `applicationId` for all the apps that do not have an `applicationId` to start with. This property controlls if a *unique* `applicationId` should be generated for each such application or all the apps in a namespace should be bundled under a single `applicationId`.
+
+This setting is turned off by default and only one `applicationId` will be generated per namespace.
+
+When enabled, unique `applicationId` is generated using the namespace and the application's pod uid.
+
+Default: `false`
+
+Example:
+```yaml
+admissionController.filtering.generateUniqueAppId: "true"
+```
 ### Admission controller ACL settings
 
 #### admissionController.accessControl.bypassAuth