[
https://issues.apache.org/jira/browse/YUNIKORN-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631422#comment-17631422
]
Wilfred Spiegelenburg commented on YUNIKORN-1389:
-------------------------------------------------
Label keys will always be DNS names that is a K8s requirement. Values are a
string with a maximum length of 63 characters. We can easily expose labels as
part of the node info. We currently do not even have a call to expose a single
node. We only have a full list for all nodes. Making a node available in the
REST API is the first step. Second step would be search or filter options on
the REST call for all nodes. That design probably needs to be generic enough to
also work for applications and maybe even queues.
Not sure we would even want to do a pre-filter on the node list at scheduler
side. It would be up to the UI to then allow sorting and or filtering. I would
also not expect the node labels to be exposed as a seperate REST call, that
does not make sense.
All of this should be driven by a plan or design of what you want to achieve in
the long run. Without a plan we're not going to get anywhere.
> Pass node labels from shim to core.
> -----------------------------------
>
> Key: YUNIKORN-1389
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1389
> Project: Apache YuniKorn
> Issue Type: Task
> Components: shim - kubernetes
> Reporter: Qi Zhu
> Assignee: Qi Zhu
> Priority: Major
> Labels: pull-request-available
>
> Suggested by YUNIKORN-1362:
> The YuniKorn UI shows the list of all the nodes in the cluster. There is no
> way of filtering the list.
> We have only certain nodes that we want our jobs to be scheduled in the
> cluster and that is dictated by the nodeSelector. I would good to have a way
> to show only those nodes on the UI to give a better idea of the resources
> that we have for the jobs to be scheduled
> The functionality will depend on the details we pull for the nodes into the
> core. Propagating some info for a node from the shim into the core might be
> needed.
> Here we first to pass node labels from shim to core.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]