You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/01/11 19:07:23 UTC

[GitHub] rabbah closed pull request #144: default to non-HA controller configuration

rabbah closed pull request #144: default to non-HA controller configuration
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/pull/144
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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"
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services