You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2022/07/15 21:21:00 UTC
[jira] [Commented] (YUNIKORN-1263) Add pending requests to application object in REST API
[ https://issues.apache.org/jira/browse/YUNIKORN-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567392#comment-17567392 ]
Craig Condit commented on YUNIKORN-1263:
----------------------------------------
Example addition to the application object:
"requests": [
\{
"allocationKey": "f137fab6-3cfa-4536-93f7-bfff92689382",
"allocationTags": {
"kubernetes.io/label/app": "pause",
"kubernetes.io/label/applicationId": "pod-with-node-affinity-01",
"kubernetes.io/label/queue": "root.sandbox",
"kubernetes.io/meta/namespace": "default",
"kubernetes.io/meta/podName": "with-node-affinity"
},
"requestTime": 1657917851845743911,
"resource": \{
"memory": 500000000,
"vcore": 100
},
"pendingCount": 1,
"priority": "0",
"queueName": "root.default",
"requiredNodeId": null,
"applicationId": "pod-with-node-affinity-01",
"partition": "default",
"placeholder": false,
"placeholderTimeout": 0,
"taskGroupName": "",
"allocationLog": [
\{
"message": "node(s) didn't match Pod's node affinity, node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate",
"timestamp": 1657917910919138494,
"count": 81
},
\{
"message": "node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate, node(s) didn't match Pod's node affinity",
"timestamp": 1657917911531769848,
"count": 504
},
\{
"message": "node(s) didn't match Pod's node affinity",
"timestamp": 1657917911532076451,
"count": 1170
}
]
}
],
> Add pending requests to application object in REST API
> ------------------------------------------------------
>
> Key: YUNIKORN-1263
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1263
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - common
> Reporter: Craig Condit
> Assignee: Craig Condit
> Priority: Major
>
> Currently, the REST API responses for applications include only allocations that are currently active. It would be useful to also have a list of pending asks as well as diagnostic information on scheduling failures (specifically with predicates).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org