openwhisk icon indicating copy to clipboard operation
openwhisk copied to clipboard

How to update configuration modifications

Open jiachengcai opened this issue 3 years ago • 4 comments

Environment details:

  • ubuntu 20.04.5

Steps to reproduce the issue:

  1. I want to modify the action memory, so i change openwhisk/common/scala/src/main/resources/application.conf image
  2. To update the configuration, i run ansible-playbook -i environments/local/ openwhisk.yml again. However, the result is as follows. The memory is 256m, not 128m i have set. image

Question

  • I wonder if i modify correctly and how to update my modifications

jiachengcai avatar Nov 07 '22 09:11 jiachengcai

Did you rebuild the codes?

style95 avatar Nov 07 '22 10:11 style95

Do you mean .\gradlew distDocker, i referred to #5009, which mentioned that no need to redeploy image So i just run ansible-playbook -i environments/local/ openwhisk.yml , without running \gradlew distDocker again. Could you give me some advice? @style95

jiachengcai avatar Nov 07 '22 14:11 jiachengcai

Since the application.conf is included in the Docker image, you need to rebuild it. When you change configurations via ansible variable or helm values, you don't need to rebuild it.

style95 avatar Nov 07 '22 14:11 style95

遇到了同样的问题,改了还是256m,请问解决了吗?

Hyzheng-DBSys avatar May 25 '24 13:05 Hyzheng-DBSys