ddragosd commented on a change in pull request #2531: Use akka distributed map
to store the shared state
URL:
https://github.com/apache/incubator-openwhisk/pull/2531#discussion_r129590222
##########
File path: ansible/roles/controller/tasks/deploy.yml
##########
@@ -37,10 +37,14 @@
"SERVICE_CHECK_INTERVAL": "15s"
"JAVA_OPTS": "-Xmx{{ controller.heap }}"
"CONTROLLER_OPTS": "{{ controller.arguments }}"
+ "AKKA_CLUSTER_PORT": "{{ controller.akka.cluster.port }}"
+ "AKKA_CLUSTER_HOST": "{{ controller.akka.cluster.host }}"
+ "AKKA_CLUSTER_BIND_PORT": "{{ controller.akka.cluster.bindPort }}"
volumes:
- "{{ whisk_logs_dir }}/controller{{
groups['controllers'].index(inventory_hostname) }}:/logs"
ports:
- "{{ controller.basePort +
groups['controllers'].index(inventory_hostname) }}:8080"
+ - "{{controller.akka.cluster.port +
groups['controllers'].index(inventory_hostname) }}:{{
controller.akka.cluster.bindPort }}"
Review comment:
Multiple instances of controller will use the same port on the host ?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services