Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zhuqi Qi Zhu
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: