This is an automated email from the ASF dual-hosted git repository.
ccondit 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 915c89f [YUNIKORN-1132] Update REST API docs with changes from
YUNIKORN-165 (#139)
915c89f is described below
commit 915c89ff86439be239ae152eaa273a8dbde88fd3
Author: Craig Condit <[email protected]>
AuthorDate: Mon Mar 28 12:42:18 2022 -0500
[YUNIKORN-1132] Update REST API docs with changes from YUNIKORN-165 (#139)
Closes: #139
---
docs/api/cluster.md | 17 +-
docs/api/scheduler.md | 557 +++++++++++++++++++++++++++++++++++++++-----------
2 files changed, 451 insertions(+), 123 deletions(-)
diff --git a/docs/api/cluster.md b/docs/api/cluster.md
index 910963a..2ce317f 100644
--- a/docs/api/cluster.md
+++ b/docs/api/cluster.md
@@ -43,7 +43,14 @@ As an example, here is a response from a 2-node cluster with
3 applications and
```json
[
{
- "partition": "[rm-123]default",
+ "startTime": "2022-03-22T14:54:13+0000",
+ "rmBuildInformation": [
+ "buildDate": "2022-03-22T09:51:21+0000",
+ "buildVersion": "latest",
+ "isPluginVersion": "false",
+ "rmId": "mycluster"
+ ],
+ "partition": "default",
"clusterName": "kubernetes",
"totalApplications": "3",
"failedApplications": "1",
@@ -96,13 +103,13 @@ Returns statistical data related the cluster resource
utilization
```json
[
{
- "partition": "[mycluster]default",
+ "partition": "default",
"utilization": [
{
"type": "memory",
- "total": 5076,
- "used": 1500,
- "usage": "29%"
+ "total": 6442450944,
+ "used": 1648361472,
+ "usage": "26%"
},
{
"type": "vcore",
diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index 386cb4b..3b35086 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -50,13 +50,27 @@ Displays general information about the partition like name,
state, capacity, use
```json
[
{
- "name": "[mycluster]default",
+ "clusterId": "mycluster",
+ "name": "default",
"state": "Active",
"lastStateTransitionTime": "2021-05-20 12:25:49.018953 +0530 IST
m=+0.005949717",
"capacity": {
- "capacity": "[memory:1000 vcore:1000]",
- "usedCapacity": "[memory:800 vcore:500]",
- "utilization": "[memory:80 vcore:50]"
+ "capacity": {
+ "ephemeral-storage": 188176871424,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 1000000000,
+ "pods": 330,
+ "vcore": 1000
+ },
+ "usedCapacity": {
+ "memory": 800000000,
+ "vcore": 500
+ },
+ "utilization": {
+ "memory": 80,
+ "vcore": 50
+ }
},
"nodeSortingPolicy": {
"type": "fair",
@@ -72,13 +86,23 @@ Displays general information about the partition like name,
state, capacity, use
}
},
{
- "name": "[mycluster]gpu",
+ "clusterId": "mycluster",
+ "name": "gpu",
"state": "Active",
"lastStateTransitionTime": "2021-05-19 12:25:49.018953 +0530 IST
m=+0.005949717",
"capacity": {
- "capacity": "[memory:2000 vcore:2000]",
- "usedCapacity": "[memory:500 vcore:300]",
- "utilization":"[memory:25 vcore:15]"
+ "capacity": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "usedCapacity": {
+ "memory": 500000000,
+ "vcore": 300
+ },
+ "utilization": {
+ "memory": 25,
+ "vcore": 15
+ }
},
"nodeSortingPolicy": {
"type": "binpacking",
@@ -134,32 +158,61 @@ For the default queue hierarchy (only `root.default` leaf
queue exists) a simila
```json
[
- {
-
- "queuename": "root",
- "status": "Active",
- "maxResource": "[memory:8000 vcore:8000]",
- "guaranteedResource": "[memory:54 vcore:80]",
- "allocatedResource": "[memory:54 vcore:80]",
- "isLeaf": "false",
- "isManaged": "false",
- "properties": {
- "application.sort.policy":"stateaware"
- },
- "parent": "",
- "partition": "[mycluster]default",
- "children": [
- {
- "queuename": "root.default",
- "status": "Active",
- "maxResource": "[memory:8000 vcore:8000]",
- "guaranteedResource": "[memory:54 vcore:80]",
- "allocatedResource": "[memory:54 vcore:80]",
- "isLeaf": "true",
- "isManaged": "false",
- "parent": "root"
+ {
+ "queuename": "root",
+ "status": "Active",
+ "maxResource": {
+ "ephemeral-storage": 188176871424,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 8000000000,
+ "pods": 330,
+ "vcore": 8000
+ },
+ "guaranteedResource": {
+ "memory": 54000000,
+ "vcore": 80
+ },
+ "allocatedResource": {
+ "memory": 54000000,
+ "vcore": 80
+ },
+ "isLeaf": "false",
+ "isManaged": "false",
+ "properties": {
+ "application.sort.policy":"stateaware"
+ },
+ "parent": "",
+ "template": null,
+ "partition": "default",
+ "children": [
+ {
+ "queuename": "root.default",
+ "status": "Active",
+ "maxResource": {
+ "memory": 8000000000,
+ "vcore": 8000
+ },
+ "guaranteedResource": {
+ "memory": 54000000,
+ "vcore": 80
+ },
+ "allocatedResource": {
+ "memory": 54000000,
+ "vcore": 80
+ },
+ "isLeaf": "true",
+ "isManaged": "false",
+ "parent": "root",
+ "template": null,
+ "children": [],
+ "absUsedCapacity": {}
}
- ]
+ ],
+ "absUsedCapacity": {
+ "memory": 1,
+ "vcore": 0
+ }
}
]
```
@@ -213,30 +266,60 @@ For the default queue hierarchy (only `root.default` leaf
queue exists) a simila
```json
{
- "partitionName": "[mycluster]default",
+ "partitionName": "default",
"capacity": {
- "capacity": "map[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:80000 pods:110 vcore:60000]",
- "usedCapacity": "0"
+ "capacity": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 80000000000,
+ "pods": 110,
+ "vcore": 60000
+ },
+ "usedCapacity": {
+ "memory": 100000000,
+ "vcore": 100
+ },
+ "utilization": {
+ "memory": 1,
+ "vcore": 0
+ }
},
"nodes": null,
"queues": {
"queuename": "root",
"status": "Active",
"capacities": {
- "capacity": "[]",
- "maxCapacity": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:80000 pods:110 vcore:60000]",
- "usedCapacity": "[memory:8000 vcore:8000]",
- "absUsedCapacity": "[memory:54 vcore:80]"
+ "capacity": {},
+ "maxCapacity": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 80000000000,
+ "pods": 110,
+ "vcore": 60000
+ },
+ "usedCapacity": {
+ "memory": 8000000000,
+ "vcore": 8000
+ },
+ "absUsedCapacity": {
+ "memory": 54,
+ "vcore": 80
+ }
},
"queues": [
{
"queuename": "default",
"status": "Active",
"capacities": {
- "capacity": "[]",
- "maxCapacity": "[]",
- "usedCapacity": "[memory:8000 vcore:8000]",
- "absUsedCapacity": "[]"
+ "capacity": {},
+ "maxCapacity": {},
+ "usedCapacity": {
+ "memory": 8000000000,
+ "vcore": 8000,
+ },
+ "absUsedCapacity": {}
},
"queues": null,
"properties": {}
@@ -271,38 +354,72 @@ In the example below there are three allocations
belonging to two applications.
[
{
"applicationID": "application-0001",
- "usedResource": "[memory:4000 vcore:4000]",
- "partition": "[mycluster]default",
+ "usedResource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "maxUsedResource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "partition": "default",
"queueName": "root.default",
"submissionTime": 1595939756253216000,
"allocations": [
{
"allocationKey": "deb12221-6b56-4fe9-87db-ebfadce9aa20",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0001",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task0"
+ },
"uuid": "9af35d44-2d6f-40d1-b51d-758859e6b8a8",
- "resource": "[memory:4000 vcore:4000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0001",
- "applicationId": "application-0002",
+ "applicationId": "application-0001",
"partition": "default"
}
],
- "applicationState": "Running"
+ "applicationState": "Running",
+ "user": "nobody",
+ "rejectedMessage": ""
},
{
"applicationID": "application-0002",
- "usedResource": "[memory:4000 vcore:4000]",
- "partition": "[mycluster]default",
+ "usedResource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "maxUsedResource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "partition": "default",
"queueName": "root.default",
"submissionTime": 1595939756253460000,
"allocations": [
{
"allocationKey": "54e5d77b-f4c3-4607-8038-03c9499dd99d",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0002",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task0"
+ },
"uuid": "08033f9a-4699-403c-9204-6333856b41bd",
- "resource": "[memory:2000 vcore:2000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0001",
"applicationId": "application-0002",
@@ -310,17 +427,28 @@ In the example below there are three allocations
belonging to two applications.
},
{
"allocationKey": "af3bd2f3-31c5-42dd-8f3f-c2298ebdec81",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0002",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task1"
+ },
"uuid": "96beeb45-5ed2-4c19-9a83-2ac807637b3b",
- "resource": "[memory:2000 vcore:2000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0002",
"applicationId": "application-0002",
"partition": "default"
}
],
- "applicationState": "Running"
+ "applicationState": "Running",
+ "user": "nobody",
+ "rejectedMessage": ""
}
]
```
@@ -380,57 +508,102 @@ In the example below there are three allocations
belonging to two applications.
```json
[
{
- "applicationID": "application-0002",
- "usedResource": "[memory:4000 vcore:4000]",
- "partition": "[mycluster]default",
+ "applicationID": "application-0001",
+ "usedResource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "maxUsedResource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "partition": "default",
"queueName": "root.default",
"submissionTime": 1595939756253216000,
"allocations": [
{
"allocationKey": "deb12221-6b56-4fe9-87db-ebfadce9aa20",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0001",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task1"
+ },
"uuid": "9af35d44-2d6f-40d1-b51d-758859e6b8a8",
- "resource": "[memory:4000 vcore:4000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0001",
- "applicationId": "application-0002",
+ "applicationId": "application-0001",
"partition": "default"
}
],
- "applicationState": "Running"
+ "applicationState": "Running",
+ "user": "nobody",
+ "rejectedMessage": ""
},
{
- "applicationID": "application-0001",
- "usedResource": "[memory:4000 vcore:4000]",
- "partition": "[mycluster]default",
+ "applicationID": "application-0002",
+ "usedResource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "maxUsedResource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "partition": "default",
"queueName": "root.default",
"submissionTime": 1595939756253460000,
"allocations": [
{
"allocationKey": "54e5d77b-f4c3-4607-8038-03c9499dd99d",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0002",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task0"
+ },
"uuid": "08033f9a-4699-403c-9204-6333856b41bd",
- "resource": "[memory:2000 vcore:2000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0001",
- "applicationId": "application-0001",
+ "applicationId": "application-0002",
"partition": "default"
},
{
"allocationKey": "af3bd2f3-31c5-42dd-8f3f-c2298ebdec81",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0002",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task1"
+ },
"uuid": "96beeb45-5ed2-4c19-9a83-2ac807637b3b",
- "resource": "[memory:2000 vcore:2000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0002",
- "applicationId": "application-0001",
+ "applicationId": "application-0002",
"partition": "default"
}
],
- "applicationState": "Running"
+ "applicationState": "Running",
+ "user": "nobody",
+ "rejectedMessage": ""
}
]
```
@@ -462,18 +635,50 @@ Here you can see an example response from a 2-node
cluster having 3 allocations.
"nodeID": "node-0001",
"hostName": "",
"rackName": "",
- "capacity": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:14577 pods:110 vcore:10000]",
- "allocated": "[memory:6000 vcore:6000]",
- "occupied": "[memory:154 vcore:750]",
- "available": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:6423 pods:110 vcore:1250]",
- "utilized":"[memory:3 vcore:13]",
+ "capacity": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 14577000000,
+ "pods": 110,
+ "vcore": 10000
+ },
+ "allocated": {
+ "memory": 6000000000,
+ "vcore": 6000
+ },
+ "occupied": {
+ "memory": 154000000,
+ "vcore" :750
+ },
+ "available": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 6423000000,
+ "pods": 110,
+ "vcore": 1250
+ },
+ "utilized": {
+ "memory": 3,
+ "vcore": 13
+ },
"allocations": [
{
"allocationKey": "54e5d77b-f4c3-4607-8038-03c9499dd99d",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0001",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task0"
+ },
"uuid": "08033f9a-4699-403c-9204-6333856b41bd",
- "resource": "[memory:2000 vcore:2000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0001",
"applicationId": "application-0001",
@@ -481,10 +686,19 @@ Here you can see an example response from a 2-node
cluster having 3 allocations.
},
{
"allocationKey": "deb12221-6b56-4fe9-87db-ebfadce9aa20",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0002",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task0"
+ },
"uuid": "9af35d44-2d6f-40d1-b51d-758859e6b8a8",
- "resource": "[memory:4000 vcore:4000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0001",
"applicationId": "application-0002",
@@ -497,18 +711,50 @@ Here you can see an example response from a 2-node
cluster having 3 allocations.
"nodeID": "node-0002",
"hostName": "",
"rackName": "",
- "capacity": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:14577 pods:110 vcore:10000]",
- "allocated": "[memory:2000 vcore:2000]",
- "occupied": "[memory:154 vcore:750]",
- "available": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:6423 pods:110 vcore:1250]",
- "utilized":"[memory:8 vcore:38]",
+ "capacity": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 14577000000,
+ "pods": 110,
+ "vcore": 10000
+ },
+ "allocated": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "occupied": {
+ "memory": 154000000,
+ "vcore" :750
+ },
+ "available": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 6423000000,
+ "pods": 110,
+ "vcore": 1250
+ },
+ "utilized": {
+ "memory": 8,
+ "vcore": 38
+ },
"allocations": [
{
"allocationKey": "af3bd2f3-31c5-42dd-8f3f-c2298ebdec81",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId": "application-0001",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task1"
+ },
"uuid": "96beeb45-5ed2-4c19-9a83-2ac807637b3b",
- "resource": "[memory:2000 vcore:2000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0002",
"applicationId": "application-0001",
@@ -570,23 +816,56 @@ Here you can see an example response from a 2-node
cluster having 3 allocations.
```json
[
{
- "partitionName": "[mycluster]default",
+ "partitionName": "default",
"nodesInfo": [
{
"nodeID": "node-0001",
"hostName": "",
"rackName": "",
- "capacity": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:14577 pods:110 vcore:10000]",
- "allocated": "[memory:6000 vcore:6000]",
- "occupied": "[memory:154 vcore:750]",
- "available": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:6423 pods:110 vcore:1250]",
+ "capacity": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 14577000000,
+ "pods": 110,
+ "vcore": 10000
+ },
+ "allocated": {
+ "memory": 6000000000,
+ "vcore": 6000
+ },
+ "occupied": {
+ "memory": 154000000,
+ "vcore" :750
+ },
+ "available": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 6423000000,
+ "pods": 110,
+ "vcore": 1250
+ },
+ "utilized": {
+ "memory": 3,
+ "vcore": 13
+ },
"allocations": [
{
"allocationKey":
"54e5d77b-f4c3-4607-8038-03c9499dd99d",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId":
"application-0001",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task0"
+ },
"uuid": "08033f9a-4699-403c-9204-6333856b41bd",
- "resource": "[memory:2000 vcore:2000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0001",
"applicationId": "application-0001",
@@ -594,10 +873,19 @@ Here you can see an example response from a 2-node
cluster having 3 allocations.
},
{
"allocationKey":
"deb12221-6b56-4fe9-87db-ebfadce9aa20",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId":
"application-0002",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task0"
+ },
"uuid": "9af35d44-2d6f-40d1-b51d-758859e6b8a8",
- "resource": "[memory:4000 vcore:4000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 4000000000,
+ "vcore": 4000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0001",
"applicationId": "application-0002",
@@ -610,17 +898,50 @@ Here you can see an example response from a 2-node
cluster having 3 allocations.
"nodeID": "node-0002",
"hostName": "",
"rackName": "",
- "capacity": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:14577 pods:110 vcore:10000]",
- "allocated": "[memory:2000 vcore:2000]",
- "occupied": "[memory:154 vcore:750]",
- "available": "[ephemeral-storage:75850798569 hugepages-1Gi:0
hugepages-2Mi:0 memory:6423 pods:110 vcore:1250]",
+ "capacity": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 14577000000,
+ "pods": 110,
+ "vcore": 10000
+ },
+ "allocated": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "occupied": {
+ "memory": 154000000,
+ "vcore" :750
+ },
+ "available": {
+ "ephemeral-storage": 75850798569,
+ "hugepages-1Gi": 0,
+ "hugepages-2Mi": 0,
+ "memory": 6423000000,
+ "pods": 110,
+ "vcore": 1250
+ },
+ "utilized": {
+ "memory": 8,
+ "vcore": 38
+ },
"allocations": [
{
"allocationKey":
"af3bd2f3-31c5-42dd-8f3f-c2298ebdec81",
- "allocationTags": null,
+ "allocationTags": {
+ "kubernetes.io/label/app": "sleep",
+ "kubernetes.io/label/applicationId":
"application-0001",
+ "kubernetes.io/label/queue": "root.default",
+ "kubernetes.io/meta/namespace": "default",
+ "kubernetes.io/meta/podName": "task1"
+ },
"uuid": "96beeb45-5ed2-4c19-9a83-2ac807637b3b",
- "resource": "[memory:2000 vcore:2000]",
- "priority": "<nil>",
+ "resource": {
+ "memory": 2000000000,
+ "vcore": 2000
+ },
+ "priority": "0",
"queueName": "root.default",
"nodeId": "node-0002",
"applicationId": "application-0001",
@@ -1062,7 +1383,7 @@ partitions:
submitacl: '*'
resources:
guaranteed:
- memory: "512"
+ memory: "512M"
vcore: "1"
properties:
application.sort.policy: stateaware