This is an automated email from the ASF dual-hosted git repository.
chenyulin0719 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 1c07775a3b [YUNIKORN-2773] Update Document - Removal of default queue
configuration (#513)
1c07775a3b is described below
commit 1c07775a3b55227e0421ff4119296227da65776e
Author: kaichiachen <[email protected]>
AuthorDate: Thu Feb 20 01:19:16 2025 +0800
[YUNIKORN-2773] Update Document - Removal of default queue configuration
(#513)
Closes: #513
Signed-off-by: Yu-Lin Chen <[email protected]>
---
docs/user_guide/service_config.md | 60 ++++++++++++++++++++-------------------
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/docs/user_guide/service_config.md
b/docs/user_guide/service_config.md
index 5a2abceb88..8a804ab595 100644
--- a/docs/user_guide/service_config.md
+++ b/docs/user_guide/service_config.md
@@ -552,7 +552,6 @@ data:
admissionController.filtering.labelNamespaces: ""
admissionController.filtering.noLabelNamespaces: ""
admissionController.filtering.generateUniqueAppId: "false"
- admissionController.filtering.defaultQueue: "root.default"
admissionController.accessControl.bypassAuth: "false"
admissionController.accessControl.trustControllers: "true"
admissionController.accessControl.systemUsers:
"^system:serviceaccount:kube-system:"
@@ -1005,34 +1004,6 @@ Example:
admissionController.filtering.generateUniqueAppId: "true"
```
-#### admissionController.filtering.defaultQueue
-Controlls what will be the default queue name for the application.
-
-If the application does not define a queue name during app submission,
admission controller will add a default queue name to the pod labels.
`root.default` queue name will be added to the pod labels if this property is
not set.
-
-In case, the default queue name needs to be updated to something other than
`root.default`, `admissionController.filtering.defaultQueue` can be set with
the desired queue name.
-
-Example:
-```yaml
-# Change default queue to root.mydefault
-admissionController.filtering.defaultQueue: "root.mydefault"
-```
-
-**_NOTE :_**
-The queue name needs to be a fully qualified queue name.
-
-For certain use-cases, there may be a need to skip adding a default queue name
to the pod labels. In such cases, `admissionController.filtering.defaultQueue`
can be set to empty string.
-
-Adding default queue name should be avoided when `provided` rule is used in
conjunction with other placement rules and `provided` rule is higher in the
hierarchy. If default queue label is added whenever there is no queue name
specified, all the apps will be placed via `provided` rule and the other rules
after that will never be executed.
-
-Default: `root.default`
-
-Example:
-```yaml
-# Skip adding default queue name
-admissionController.filtering.defaultQueue: ""
-```
-
### Admission controller ACL settings
#### admissionController.accessControl.bypassAuth
@@ -1150,6 +1121,37 @@ Example:
service.operatorPlugins: "general"
```
+#### admissionController.filtering.defaultQueue
+
+**_DEPRECATED in 1.6.0:_** This setting is deprecated. To configure a desire
queue name, use the [Fixed Rule](placement_rules/#fixed-rule) placement rule
instead.
+
+Controlls what will be the default queue name for the application.
+
+If the application does not define a queue name during app submission,
admission controller will add a default queue name to the pod labels.
`root.default` queue name will be added to the pod labels if this property is
not set.
+
+In case, the default queue name needs to be updated to something other than
`root.default`, `admissionController.filtering.defaultQueue` can be set with
the desired queue name.
+
+Example:
+```yaml
+# Change default queue to root.mydefault
+admissionController.filtering.defaultQueue: "root.mydefault"
+```
+
+**_NOTE :_**
+The queue name needs to be a fully qualified queue name.
+
+For certain use-cases, there may be a need to skip adding a default queue name
to the pod labels. In such cases, `admissionController.filtering.defaultQueue`
can be set to empty string.
+
+Adding default queue name should be avoided when `provided` rule is used in
conjunction with other placement rules and `provided` rule is higher in the
hierarchy. If default queue label is added whenever there is no queue name
specified, all the apps will be placed via `provided` rule and the other rules
after that will never be executed.
+
+Default: `root.default`
+
+Example:
+```yaml
+# Skip adding default queue name
+admissionController.filtering.defaultQueue: ""
+```
+
[^1]: Available log subsystem values:
- admission
- admission.client
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]