Skip to content

Commit

Permalink
install rabbitmq helm-external chart
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsagtani97 committed Sep 25, 2023
1 parent 5801acb commit e0e7b43
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
10 changes: 10 additions & 0 deletions ansible/helm_external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,13 @@
external_dir_name: cassandra-external
server_type: cassandra
network_interface: "{{ cassandra_network_interface }}"

- hosts: "rmq-cluster"
become: false
tasks:
- name: Generate rabbitmq IPs for helm
include_tasks: tasks/helm_external.yml
vars:
external_dir_name: rabbitmq-external
server_type: rabbitmq
network_interface: "{{ rabbitmq_network_interface }}"
12 changes: 8 additions & 4 deletions ansible/inventory/offline/99-static
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
# minio2 ansible_host=XXXX
# minio3 ansible_host=XXXX
#
# rabbitmq1 ansible_host=XXXX
# rabbitmq2 ansible_host=XXXX
# rabbitmq3 ansible_host=XXXX
#
# If you are in an offline environment, add an assethost here, from which
# artifacts are served
# assethost ansible_host=100.89.14.74 ip=10.114.0.9
Expand Down Expand Up @@ -82,7 +86,7 @@
#domain = "example.com"
#deeplink_title = "example.com environment"

[rabbitmq:vars]
[rmq-cluster:vars]
# rabbitmq_network_interface = enp1s0

[restund:vars]
Expand Down Expand Up @@ -177,6 +181,6 @@ elasticsearch
# minio3

[rmq-cluster]
# ansnode1
# ansnode2
# ansnode3
# rabbitmq1
# rabbitmq2
# rabbitmq3
1 change: 1 addition & 0 deletions offline/docs_ubuntu_22.04.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ First. Make kubernetes aware of where alll the external stateful services are b
d helm install cassandra-external ./charts/cassandra-external --values ./values/cassandra-external/values.yaml
d helm install elasticsearch-external ./charts/elasticsearch-external --values ./values/elasticsearch-external/values.yaml
d helm install minio-external ./charts/minio-external --values ./values/minio-external/values.yaml
d helm install rabbitmq-external ./charts/rabbitmq-external --values ./values/rabbitmq-external/values.yaml
```

#### Deploying stateless dependencies
Expand Down

0 comments on commit e0e7b43

Please sign in to comment.