tysonnorris commented on a change in pull request #3211: implement 
ContainerFactory.cpuShare to fix #3110
URL: 
https://github.com/apache/incubator-openwhisk/pull/3211#discussion_r163902561
 
 

 ##########
 File path: ansible/roles/invoker/tasks/deploy.yml
 ##########
 @@ -173,8 +173,8 @@
         {% for item in (invoker_container_network_dns_servers | 
default()).split(' ')  %}
         -e 
CONFIG_whisk_containerFactory_containerArgs_dnsServers_{{loop.index0}}={{ item 
}}
         {% endfor %}
-        -e INVOKER_NUMCORE='{{ invoker.numcore }}'
-        -e INVOKER_CORESHARE='{{ invoker.coreshare }}'
+        -e CONFIG_whisk_containerFactory_containerArgs_numCore='{{ 
invoker.numcore }}'
+        -e CONFIG_whisk_containerFactory_containerArgs_coreShare='{{ 
invoker.coreshare }}'
 
 Review comment:
   Oh separately from config path, there is another issue, where 
ContainerPoolConfig should generally reside near ContainerPool which resides in 
invoker, but ContainerFactory resides in common. This is a problem because 
non-docker ContainerFactory will require use of this config (to set the 
cpushares), so for now I will use `whisk.container-factory.container-pool` (not 
`whisk.container-pool`) to store the config. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to