You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/09/14 14:20:59 UTC
[incubator-openwhisk-deploy-kube] branch master updated: use public
images for invoker and controller (#50)
This is an automated email from the ASF dual-hosted git repository.
csantanapr 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 335f20f use public images for invoker and controller (#50)
335f20f is described below
commit 335f20f7155ce6c2d1c8a995da3f7a93cad036f7
Author: Dan Lavine <dl...@us.ibm.com>
AuthorDate: Thu Sep 14 14:20:57 2017 +0000
use public images for invoker and controller (#50)
---
kubernetes/controller/controller.yml | 15 ++++++++++++++-
kubernetes/invoker/invoker.yml | 2 +-
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/kubernetes/controller/controller.yml b/kubernetes/controller/controller.yml
index 496879d..9990a92 100644
--- a/kubernetes/controller/controller.yml
+++ b/kubernetes/controller/controller.yml
@@ -37,7 +37,7 @@ spec:
imagePullPolicy: Always
# Update this image to the publix OpenWhisk Image once this PR is merged.
# https://github.com/apache/incubator-openwhisk/pull/2452
- image: danlavine/whisk_controller
+ image: openwhisk/controller
command: ["/bin/bash", "-c", "COMPONENT_NAME=$(hostname | cut -d'-' -f2) /controller/bin/controller `hostname | cut -d'-' -f2`"]
ports:
- name: controller
@@ -80,6 +80,8 @@ spec:
value: "9092"
# specific controller arguments
+ - name: "CONTROLLER_INSTANCES"
+ value: "2"
- name: "CONTROLLER_OPTS"
value: ""
- name: "DEFAULTLIMITS_ACTIONS_INVOKES_PERMINUTE"
@@ -92,6 +94,17 @@ spec:
value: "50"
- name: "DEFAULTLIMITS_TRIGGERS_FIRES_PERMINUTE"
value: "60"
+ - name: "LIMITS_ACTIONS_SEQUENCE_MAXLENGTH"
+ value: "50"
+ - name: "LIMITS_TRIGGERS_FIRES_PERMINUTE"
+ value: "60"
+ - name: "LIMITS_ACTIONS_INVOKES_PERMINUTE"
+ value: "60"
+ - name: "LIMITS_ACTIONS_INVOKES_CONCURRENTINSYSTEM"
+ value: "5000"
+ - name: "LIMITS_ACTIONS_INVOKES_CONCURRENT"
+ value: "30"
+
# properties for DB connection
- name: "DB_USERNAME"
diff --git a/kubernetes/invoker/invoker.yml b/kubernetes/invoker/invoker.yml
index fd20754..e8a9458 100644
--- a/kubernetes/invoker/invoker.yml
+++ b/kubernetes/invoker/invoker.yml
@@ -39,7 +39,7 @@ spec:
# 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: danlavine/whisk_invoker
+ image: openwhisk/invoker
command: [ "/bin/bash", "-c", "COMPONENT_NAME=$(hostname | cut -d'-' -f2) /invoker/bin/invoker `hostname | cut -d'-' -f2`" ]
env:
- name: "PORT"
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].