You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2026/09/25 05:06:00 UTC

[jira] [Created] (YUNIKORN-3477) Refactor extractor in admission controller

Wilfred Spiegelenburg created YUNIKORN-3477:
-----------------------------------------------

             Summary: Refactor extractor in admission controller
                 Key: YUNIKORN-3477
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-3477
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: shim - kubernetes
            Reporter: Wilfred Spiegelenburg
            Assignee: Wilfred Spiegelenburg


The admission controller loads the objects from the admission request for processing.

Pods are handled differently from workloads in the way they are processed. Pods get passed around and labels and annotations are retrieved multiple times from the pod object. Workloads always use the extractor and the object is not passed around.

Extraction also happens multiple times for the same workload object. For labels and for annotations while the extractor gets both in one action.

Use the {{extractResult }}object to limit the times extraction is needed and make it usable for pods



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org