Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1306 [Umbrella] Enhanced user and group handling
  3. YUNIKORN-1374

[shim] use the parent's user-group info if the pod has an ownerReference defined

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • None
    • None
    • shim - kubernetes
    • None

    Description

      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.

      Attachments

        Activity

          People

            pbacsko Peter Bacsko
            pbacsko Peter Bacsko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: