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 <[email protected]>
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
['"[email protected]" <[email protected]>'].