Skip to content

Commit

Permalink
Merge pull request #1329 from millingw/20240723-zrq-add_worker_securi…
Browse files Browse the repository at this point in the history
…ty_rule

added new rule to allow extra zeppelin worker comms
  • Loading branch information
millingw authored Jul 23, 2024
2 parents bde4ff0 + 701a219 commit 0131b52
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deployments/hadoop-yarn/ansible/04-create-workers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@
port_range_max: 22
remote_group: "{{ security['zeppelin'] }}"

- name: "Add a restricted range to allow zeppelin to retrieve results directly from workers"
os_security_group_rule:
cloud: "{{ cloudname }}"
state: present
security_group: "{{ secgroup.id }}"
direction: "ingress"
protocol: 'tcp'
port_range_min: 32768
port_range_max: 60999
remote_group: "{{ security['zeppelin'] }}"

- name: "Create our workers"
os_server:
cloud: "{{ cloudname }}"
Expand Down

0 comments on commit 0131b52

Please sign in to comment.