You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2021/04/09 19:52:55 UTC

[openwhisk-deploy-kube] branch master updated: Update Development Documentation (#684)

This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c13ce9  Update Development Documentation (#684)
6c13ce9 is described below

commit 6c13ce95c5a7b44de3923ff045b20157178c3430
Author: Erika Hunhoff <54...@users.noreply.github.com>
AuthorDate: Fri Apr 9 13:52:47 2021 -0600

    Update Development Documentation (#684)
    
    * Updated development instructions to include wskdev command
    
    * Added comment about development in multi-node clusters
---
 README.md | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 7465eaa..faae337 100644
--- a/README.md
+++ b/README.md
@@ -413,11 +413,31 @@ more OpenWhisk components.  Continuing the example above, if you make
 additional changes to the controller source code and want to just
 redeploy it without redeploying the entire OpenWhisk system you can do
 the following:
+
+If you are using a multi-node Kubernetes cluster you will need to
+repeat the following steps on all nodes that may run the controller
+component.
+
+The first step is to rebuild the docker image:
+```shell
+# Execute this command in your openwhisk directory
+bin/wskdev controller -b
+```
+Note that the ```wskdev``` flags ```-x``` and ```-d``` are not compatible
+with the Kubernetes deployment of OpenWhisk.
+
+Alternatively, you can build all of the OpenWhisk docker components:
 ```shell
-# Execute these commands in your openwhisk directory
+# Execute this command in your openwhisk directory
 ./gradlew distDocker
+```
+
+After building the new docker image(s), tag the new image:
+```shell
+# Tag the docker image you seek to redeploy
 docker tag whisk/controller whisk/controller:v2
 ```
+
 Then, edit your `mycluster.yaml` to contain:
 ```yaml
 controller: