0yukali0 commented on PR #441:
URL: https://github.com/apache/yunikorn-site/pull/441#issuecomment-2186343306

   Hi @mean-world 
   
   You can apply the new config to the yunikorn config if you wonder how to 
manage resources when summiting applications.
   ```yaml
   partitions:
     name: default
     queues:
     - name: root
       queues:
       - name: ray
         resources:
           guaranteed:
             vcore: 2
             memory: 4G
           max:
             vcore: 4
             memory: 8G
         queues:
         - name: jobs
         - name: clusters
   ```
   pod yaml (Raycluster CRD also use Pod template)
   ```yaml
   metadata:
     labels:
       applicaionId: ray-cluster-0001
       queue: root.ray.clusters
   spec:
     schedulerName: yunikorn # k8s will inform yunikorn based on this
   ```
   
   A Yunikorn application including one or multiple pods based on the 
'applicationId' label in pod.metadata.labels.
   The queue where pods is in is  decided by the `queue` label in 
pod.metadata.label.
   [Yunikorn 
labels](https://yunikorn.apache.org/docs/user_guide/labels_and_annotations_in_yunikorn)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to