diff --git a/offline/docs_ubuntu_22.04.md b/offline/docs_ubuntu_22.04.md index 3451b27a9..21b0ad660 100644 --- a/offline/docs_ubuntu_22.04.md +++ b/offline/docs_ubuntu_22.04.md @@ -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 @@ -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 @@ -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