|
17 | 17 | --- |
18 | 18 | # |
19 | 19 | # Controller 'plugin' that will add the items necessary to the controller |
20 | | -# environment to cause the controller to join a specified akka cluster |
| 20 | +# environment to cause the controller to join a specified pekko cluster |
21 | 21 | # |
22 | 22 |
|
23 | | -- name: add akka port to ports_to_expose |
| 23 | +- name: add pekko port to ports_to_expose |
24 | 24 | set_fact: |
25 | 25 | ports_to_expose: >- |
26 | 26 | {{ ports_to_expose }} + |
27 | | - [ "{{ (controller.akka.cluster.basePort + (controller_index | int)) }}:" |
28 | | - + "{{ controller.akka.cluster.bindPort }}" ] |
| 27 | + [ "{{ (controller.pekko.cluster.basePort + (controller_index | int)) }}:" |
| 28 | + + "{{ controller.pekko.cluster.bindPort }}" ] |
29 | 29 |
|
30 | 30 | - name: add seed nodes to controller environment |
31 | 31 | set_fact: |
32 | 32 | env: >- |
33 | 33 | {{ env | combine({ |
34 | | - 'CONFIG_akka_cluster_seedNodes_' ~ seedNode.0: |
35 | | - 'akka://controller-actor-system@'~seedNode.1~':'~(controller.akka.cluster.basePort+seedNode.0) |
| 34 | + 'CONFIG_pekko_cluster_seedNodes_' ~ seedNode.0: |
| 35 | + 'pekko://controller-actor-system@'~seedNode.1~':'~(controller.pekko.cluster.basePort+seedNode.0) |
36 | 36 | }) }} |
37 | | - with_indexed_items: "{{ controller.akka.cluster.seedNodes }}" |
| 37 | + with_indexed_items: "{{ controller.pekko.cluster.seedNodes }}" |
38 | 38 | loop_control: |
39 | 39 | loop_var: seedNode |
40 | 40 |
|
41 | | -- name: Add akka environment to controller environment |
| 41 | +- name: Add pekko environment to controller environment |
42 | 42 | vars: |
43 | | - akka_env: |
44 | | - "CONFIG_akka_actor_provider": "{{ controller.akka.provider }}" |
45 | | - "CONFIG_akka_remote_artery_canonical_hostname": |
46 | | - "{{ controller.akka.cluster.host[(controller_index | int)] }}" |
47 | | - "CONFIG_akka_remote_artery_canonical_port": |
48 | | - "{{ controller.akka.cluster.basePort + (controller_index | int) }}" |
49 | | - "CONFIG_akka_remote_artery_bind_port": |
50 | | - "{{ controller.akka.cluster.bindPort }}" |
| 43 | + pekko_env: |
| 44 | + "CONFIG_pekko_actor_provider": "{{ controller.pekko.provider }}" |
| 45 | + "CONFIG_pekko_remote_artery_canonical_hostname": |
| 46 | + "{{ controller.pekko.cluster.host[(controller_index | int)] }}" |
| 47 | + "CONFIG_pekko_remote_artery_canonical_port": |
| 48 | + "{{ controller.pekko.cluster.basePort + (controller_index | int) }}" |
| 49 | + "CONFIG_pekko_remote_artery_bind_hostname": "0.0.0.0" |
| 50 | + "CONFIG_pekko_remote_artery_bind_port": |
| 51 | + "{{ controller.pekko.cluster.bindPort }}" |
51 | 52 | set_fact: |
52 | | - env: "{{ env | combine(akka_env) }}" |
| 53 | + env: "{{ env | combine(pekko_env) }}" |
0 commit comments