style95 commented on code in PR #5443:
URL: https://github.com/apache/openwhisk/pull/5443#discussion_r1337997683


##########
core/invoker/src/main/resources/application.conf:
##########
@@ -71,6 +71,8 @@ whisk {
     prewarm-promotion: false # if true, action can take prewarm container 
which has bigger memory
     memory-sync-interval: 1 second # period to sync memory info to etcd
     batch-deletion-size: 10 # batch size for removing containers when disable 
invoker, too big value may cause docker/k8s overload
+    # optional setting to specify the total allocatable cpus for all action 
containers, each container will get a fraction of this proportional to its 
allocated memory to limit the cpu
+    # user-cpus: 1

Review Comment:
   BTW, could you add a configuration like this?
   
https://github.com/apache/openwhisk/blob/master/ansible/roles/invoker/tasks/deploy.yml#L304
   
   It would be easier to configure it with ansible.
   



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