[ 
https://issues.apache.org/jira/browse/YUNIKORN-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Qi Zhu reassigned YUNIKORN-1550:
--------------------------------

    Assignee: Qi Zhu

> pass k8s node labels as attributes not json
> -------------------------------------------
>
>                 Key: YUNIKORN-1550
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1550
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>    Affects Versions: 1.2.0
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Qi Zhu
>            Priority: Major
>              Labels: newbie
>
> The k8shim in YUNIKORN-1389 was extended to pass on the K8s node labels to 
> the core via the attributes. The K8s node labels are marshalled into a single 
> json string. The string is added using a new key.
> There are multiple issues with that. The overhead of un-marshalling it each 
> time a label needs to be checked for existence is large. It also needs a two 
> step check to find a label. First find the label in the attributes and then 
> un-marshal the string and do another check for the real key & value needed.
> We should add the labels from the K8s node as entries in the attributes map. 
> Each label becomes and entry not json marshalling.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to