dongjoon-hyun edited a comment on issue #24630: [SPARK-27754][K8S] Introduce 
config for driver request cores
URL: https://github.com/apache/spark/pull/24630#issuecomment-493504846
 
 
   Ah, right. As @onursatici pointed out, `pod spec` can have `cpu` for the 
fine-grained control. 
(https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory).
   ```
      resources:
         requests:
           memory: "64Mi"
           cpu: "250m"
   ```
   
   Since there is a more general way, the benefit of this PR is very limited. 
Please update the PR description, @arunmahadevan . 
   
   Or, could you enhance K8s document about this instead of adding this 3rd way 
of `cpu` spec? In fact, I prefer this document updates.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to