tree: a4f51b3d13f4e80665e2c71e970d65cbc6c78a1e [path history] [tgz]
  1. controller.env
  2. controller.yml
  3. README.md
kubernetes/controller/README.md

Controller

Deploying

Create config map

Edit controller.env as needed to set the appropriate values for your deployment, then create the configmap controller.config:

kubectl -n openwhisk create cm controller.config --from-env-file=controller.env

Deploy Controller

The Controller is deployed as a StatefulSet because each instance needs to know which index it is and we need stable pod names to support Akka clustering. The Controller can be deployed with:

kubectl apply -f controller.yml

Controller Deployment Changes

Changing the Controller Count

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 and the values of the various variables for controller HA and Akka clustering here and then redeploy.