Skip to content

Commit

Permalink
Update docs_ubuntu_22.04.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurwolf authored Oct 11, 2023
1 parent b54c15e commit d1eb457
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions offline/docs_ubuntu_22.04.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,10 @@ deeplink_title = "wire demo environment, example.com"
[restund:vars]
restund_uid = root
restund_allowed_private_network_cidrs=172.16.0.1/24
restund_allowed_private_network_cidrs='["172.16.0.1/24"]'
[rmq-cluster:vars]
rabbitmq_network_interface = enp1s0
[kube-master]
kubenode1
Expand Down Expand Up @@ -396,6 +399,8 @@ This should generate two files. `./ansible/inventory/group_vars/all/secrets.yaml

## Deploying Kubernetes, Restund and stateful services

NOTE: Before running `d ./bin/offline-cluster.sh`, comment out the call to `./bin/fix_default_router.sh` (this call/script dsiables DNS resolution in the cluster). If you do not comment out this line, notifications will not occur.

In order to deploy all the services run:
```
d ./bin/offline-cluster.sh
Expand Down Expand Up @@ -513,21 +518,11 @@ what the IP addresses of cassandra, elasticsearch, minio and rabbitmq are.
d ansible-playbook -i ./ansible/inventory/offline/hosts.ini ansible/helm_external.yml
```

#### Installing Rabbitmq
### Preparation for Federation

To install the rabbitmq,
First copy the value and secret file:
```
cp ./values/rabbitmq/prod-values.example.yaml ./values/rabbitmq/values.yaml
cp ./values/rabbitmq/prod-secrets.example.yaml ./values/rabbitmq/secrets.yaml
```
For enabling Federation, we need to have RabbitMQ in place. Please follow the instructions in [offline/federation_preparation.md](./federation_preparation.md) for setting up RabbitMQ.

Now, update the `./values/rabbitmq/values.yaml` and `./values/rabbitmq/secrets.yaml` with correct values as per needed.

Deploy the rabbitmq helm chart -
```
d helm upgrade --install rabbitmq ./charts/rabbitmq --values ./values/rabbitmq/values.yaml --values ./values/rabbitmq/secrets.yaml
```
After that continue to the next steps below.

### Deploying Wire

Expand Down

0 comments on commit d1eb457

Please sign in to comment.