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: default to non-HA controller configuration (#144)
Date Thu, 11 Jan 2018 19:07:21 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 f6d8a5e  default to non-HA controller configuration (#144)
f6d8a5e is described below

commit f6d8a5e77f38ac89935f97ccc028a29f71e4d29e
Author: David Grove <dgrove-oss@users.noreply.github.com>
AuthorDate: Thu Jan 11 14:07:19 2018 -0500

    default to non-HA controller configuration (#144)
    
    Matches default local deployment of upstream project,
    which does not deploy any of the OpenWhisk components
    for HA.
---
 kubernetes/controller/README.md      |  4 +++-
 kubernetes/controller/controller.yml | 10 +++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/kubernetes/controller/README.md b/kubernetes/controller/README.md
index c4a06e8..c88d127 100644
--- a/kubernetes/controller/README.md
+++ b/kubernetes/controller/README.md
@@ -25,7 +25,9 @@ kubectl apply -f controller.yml
 # Controller Deployment Changes
 ## Changing the Controller Count
 
-Changing the number of controllers currently requires a complete
+By default, only a single controller is deployed (HA disabled).
+
+Changing the number of controllers and/or enabling HA currently requires a complete
 redeployment of the controller stateful set. You will need to update
 the number of replicas
 [here](https://github.com/apache/incubator-openwhisk-deploy-kube/tree/master/kubernetes/controller/controller.yml#L10)
diff --git a/kubernetes/controller/controller.yml b/kubernetes/controller/controller.yml
index 48dd41e..64d7f52 100644
--- a/kubernetes/controller/controller.yml
+++ b/kubernetes/controller/controller.yml
@@ -7,7 +7,7 @@ metadata:
   labels:
     name: controller
 spec:
-  replicas: 2
+  replicas: 1
   serviceName: "controller"
   template:
     metadata:
@@ -28,13 +28,13 @@ spec:
         # Properties for controller HA configuration
         # Must change these if changing number of replicas
         - name: "CONTROLLER_LOCALBOOKKEEPING"
-          value: "FALSE"
-        - name: "CONTROLLER_HA"
           value: "TRUE"
+        - name: "CONTROLLER_HA"
+          value: "FALSE"
         - name: "CONTROLLER_INSTANCES"
-          value: "2"
+          value: "1"
         - name: "AKKA_CLUSTER_SEED_NODES"
-          value: "controller-0.controller.openwhisk controller-1.controller.openwhisk"
+          value: "controller-0.controller.openwhisk"
         - name: "CONFIG_akka_actor_provider"
           value: "cluster"
 

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

Mime
View raw message