This is an automated email from the ASF dual-hosted git repository.
mani 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 5c2b9f8d09 [YUNIKORN-2014] update /ws/v1/config response (#349)
5c2b9f8d09 is described below
commit 5c2b9f8d092014dae9f29f86e3cb908f4ada1524
Author: PoAn Yang <[email protected]>
AuthorDate: Fri Oct 13 09:01:20 2023 -0500
[YUNIKORN-2014] update /ws/v1/config response (#349)
Signed-off-by: Manikandan R <[email protected]>
---
docs/api/scheduler.md | 74 +++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 63 insertions(+), 11 deletions(-)
diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index 5f28c6da7c..4d4838cfe8 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -1578,20 +1578,72 @@ Endpoint to retrieve the current scheduler configuration
**Code** : `200 OK`
-**Content example**
+**Content example (with `Accept: application/json` header)**
+
+```json
+{
+ "Partitions": [
+ {
+ "Name": "default",
+ "Queues": [
+ {
+ "Name": "root",
+ "Parent": true,
+ "Resources": {},
+ "SubmitACL": "*",
+ "ChildTemplate": {
+ "Resources": {}
+ }
+ }
+ ],
+ "PlacementRules": [
+ {
+ "Name": "tag",
+ "Create": true,
+ "Filter": {
+ "Type": ""
+ },
+ "Value": "namespace"
+ }
+ ],
+ "Preemption": {
+ "Enabled": false
+ },
+ "NodeSortPolicy": {
+ "Type": ""
+ }
+ }
+ ],
+ "Checksum":
"FD5D3726DF0F02416E02F3919D78F61B15D14425A34142D93B24C137ED056946",
+ "Extra": {
+ "event.trackingEnabled": "false",
+ "log.core.scheduler.level": "info",
+ "log.core.security.level": "info",
+ "log.level": "debug"
+ }
+}
+```
+
+**Content example (without `Accept: application/json` header)**
```yaml
partitions:
-- name: default
- queues:
- - name: root
- parent: true
- submitacl: '*'
- placementrules:
- - name: tag
- create: true
- value: namespace
-checksum: D75996C07D5167F41B33E27CCFAEF1D5C55BE3C00EE6526A7ABDF8435DB4078E
+ - name: default
+ queues:
+ - name: root
+ parent: true
+ submitacl: "*"
+ placementrules:
+ - name: tag
+ create: true
+ value: namespace
+checksum: FD5D3726DF0F02416E02F3919D78F61B15D14425A34142D93B24C137ED056946
+extra:
+ event.trackingEnabled: "false"
+ log.core.scheduler.level: info
+ log.core.security.level: info
+ log.level: debug
+
```
## Application history
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]