openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rab...@apache.org
Subject [incubator-openwhisk-deploy-kube] branch master updated: Update controller.yml with additional required envvars (#66)
Date Mon, 02 Oct 2017 15:06:38 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 822243c  Update controller.yml with additional required envvars (#66)
822243c is described below

commit 822243cbafcd627a6c0a737e7f805378ac9f6805
Author: David Grove <dgrove-oss@users.noreply.github.com>
AuthorDate: Mon Oct 2 11:06:36 2017 -0400

    Update controller.yml with additional required envvars (#66)
    
    CONTROLLER_LOCAL_BOOKKEEPING and AKKA_CLUSTER_SEED_NODES
    are now required to be set in the environment.
    
    * remove outdated TODOs
---
 kubernetes/controller/controller.yml | 7 ++++---
 kubernetes/invoker/invoker.yml       | 3 ---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/kubernetes/controller/controller.yml b/kubernetes/controller/controller.yml
index c3705ac..0c5404e 100644
--- a/kubernetes/controller/controller.yml
+++ b/kubernetes/controller/controller.yml
@@ -35,8 +35,6 @@ spec:
       containers:
       - name: controller
         imagePullPolicy: Always
-        # Update this image to the publix OpenWhisk Image once this PR is merged.
-        # https://github.com/apache/incubator-openwhisk/pull/2452
         image: openwhisk/controller
         command: ["/bin/bash", "-c", "COMPONENT_NAME=$(hostname | cut -d'-' -f2) /controller/bin/controller
`hostname | cut -d'-' -f2`"]
         ports:
@@ -106,7 +104,10 @@ spec:
           value: "30"
         - name: "CONTROLLER_BLACKBOXFRACTION"
           value: "0.10"
-
+        - name: "CONTROLLER_LOCALBOOKKEEPING"
+          value: "TRUE"
+        - name: "AKKA_CLUSTER_SEED_NODES"
+          value: "controller-0.controller.openwhisk controller-1.controller.openwhisk"
 
         # properties for DB connection
         - name: "DB_USERNAME"
diff --git a/kubernetes/invoker/invoker.yml b/kubernetes/invoker/invoker.yml
index e8a9458..70d95c6 100644
--- a/kubernetes/invoker/invoker.yml
+++ b/kubernetes/invoker/invoker.yml
@@ -36,9 +36,6 @@ spec:
       containers:
       - name: invoker
         imagePullPolicy: Always
-        # TODO: change this to the public openwhisk image for nuking Consul.
-        # there is a PR that needs to be merged first.
-        # https://github.com/apache/incubator-openwhisk/pull/2452
         image: openwhisk/invoker
         command: [ "/bin/bash", "-c", "COMPONENT_NAME=$(hostname | cut -d'-' -f2) /invoker/bin/invoker
`hostname | cut -d'-' -f2`" ]
         env:

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Mime
View raw message