Peter Bacsko created YUNIKORN-1374:
--------------------------------------

             Summary: [core] use the parent's user-group info if the pod has an 
ownerReference defined
                 Key: YUNIKORN-1374
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1374
             Project: Apache YuniKorn
          Issue Type: Sub-task
          Components: core - scheduler
            Reporter: Peter Bacsko
            Assignee: Peter Bacsko


Certain workloads submit further pods from within the cluster.

For example, the driver pod startved by {{spark-submit}} belongs to the user 
who authenticated externally. Subsequent executor pods, however, will be 
started by the driver pod from a service account which is defined in the 
command line.

In order to properly track resource usage, we need to check if there is 
{{OwnerReference}} set for a given pod. If it is, then we need to look up the 
existing pod/application and replace the user and group info. This also ensures 
that placeholders are handled properly, too.



--
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