You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/09/18 13:39:59 UTC

[GitHub] [openwhisk] ZYH1120 opened a new issue #4980: where is the config file

ZYH1120 opened a new issue #4980:
URL: https://github.com/apache/openwhisk/issues/4980


   I want to change the config file of the openwhisk so that I can adjust the number of invoker container or the memory size of them.So how can I find the config file of openwhisk.
   
   .  


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [openwhisk] ZYH1120 closed issue #4980: where is the config file

Posted by GitBox <gi...@apache.org>.
ZYH1120 closed issue #4980:
URL: https://github.com/apache/openwhisk/issues/4980


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [openwhisk] rabbah commented on issue #4980: where is the config file

Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4980:
URL: https://github.com/apache/openwhisk/issues/4980#issuecomment-696440064


   If you're ansible deployment to VMs then you edit this file https://github.com/apache/openwhisk/blob/master/ansible/environments/local/hosts.j2.ini to add more invoker hosts.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [openwhisk] rabbah commented on issue #4980: where is the config file

Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4980:
URL: https://github.com/apache/openwhisk/issues/4980#issuecomment-696440064


   If you're ansible deployment to VMs then you edit this file https://github.com/apache/openwhisk/blob/master/ansible/environments/local/hosts.j2.ini to add more invoker hosts.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [openwhisk] GitHubDiom commented on issue #4980: where is the config file

Posted by GitBox <gi...@apache.org>.
GitHubDiom commented on issue #4980:
URL: https://github.com/apache/openwhisk/issues/4980#issuecomment-855399953


   Hi, there
   
   I have deployed openwhisk in Kind(k8s in docker).
   
   How do I change the default code size (48 MB in default)?
   
   In the beginning, I  run the following command for building virtual env.
   ```shell 
   docker run --rm -v "$PWD:/tmp" openwhisk/python3action /bin/bash -c "cd tmp; virtualenv --system-site-packages virtualenv; source virtualenv/bin/activate; pip install -r requirements.txt"
   ```
   
   And I found that `openwhisk/python3action` is too slow and usually failed when building the env.
   
   Then I change the command:
   
   ``` shell
   docker run --rm -v "$PWD:/tmp" ibmfunctions/action-python-v3.7:1.8.0 /bin/bash -c "cd tmp; virtualenv --system-site-packages virtualenv; source virtualenv/bin/activate; pip install -r reqs.txt"
   ```
   where the reqs.txt just include `opencv-python` dependency
   
   After I zip the `virtualenv` and `__main__.py` then I get `func.zip`, which is 63 M.
   
   How to I change the default code size to create the action?
   
   Thank you
   


-- 
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:
users@infra.apache.org



[GitHub] [openwhisk] ZinuoCai commented on issue #4980: where is the config file

Posted by GitBox <gi...@apache.org>.
ZinuoCai commented on issue #4980:
URL: https://github.com/apache/openwhisk/issues/4980#issuecomment-796470217


   @rabbah Can I change the config file if I deploy it with K8s? By the way, I also wonder what the difference between K8s and ansible deployment?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [openwhisk] rabbah commented on issue #4980: where is the config file

Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4980:
URL: https://github.com/apache/openwhisk/issues/4980#issuecomment-696440064


   If you're ansible deployment to VMs then you edit this file https://github.com/apache/openwhisk/blob/master/ansible/environments/local/hosts.j2.ini to add more invoker hosts.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [openwhisk] rabbah commented on issue #4980: where is the config file

Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4980:
URL: https://github.com/apache/openwhisk/issues/4980#issuecomment-796709054


   Ansible is intended for a baremetal/VM deployment. For Kube, there are helm charts https://github.com/apache/openwhisk-deploy-kube which don't tend to rely or share some of the configurations 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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org