Weiwei Yang created YUNIKORN-420:
------------------------------------

             Summary: Add TaskGroup field in app-CRD
                 Key: YUNIKORN-420
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-420
             Project: Apache YuniKorn
          Issue Type: Sub-task
          Components: shim - kubernetes
            Reporter: Weiwei Yang


We need to add {{TaskGroup}} field in order to understand the gangs scheduling 
context:

{code}
yunikorn.apache.org/app {
    AppId: "...",
  SchedulingPolicy: {
    Name: TryOnce,
    // TryOnce
    // MaxRetry
    // TryReserve
    // TryPreempt
  }, 
  TaskGroups: {
     "spark-driver" : {
       minMember: 1,
       minResource: {
         Cpu: 1,
         Memory: 2Gi
       },
     },
     "spark-executor": {
        minMember: 10, 
        minResource: {
          Cpu: 1,
          Memory: 2Gi
        }
      }
  }
}
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to