From da4ccdd5301a27b60f047834618fe3be8723b1ae Mon Sep 17 00:00:00 2001 From: Andy Stark Date: Thu, 9 May 2024 10:02:01 +0100 Subject: [PATCH] DOC-3747 RDI doc bug fixes --- .../installation/install-k8s.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/content/integrate/redis-data-integration/installation/install-k8s.md b/content/integrate/redis-data-integration/installation/install-k8s.md index ef99df66ef..a6d1a034d8 100644 --- a/content/integrate/redis-data-integration/installation/install-k8s.md +++ b/content/integrate/redis-data-integration/installation/install-k8s.md @@ -96,7 +96,10 @@ The `create` command will create a BDB named `redis-di-1` in your cluster. To ru ## Create the configuration file for RDI -Run `redis-di scaffold --db-type <{{param rdi_db_types}}> --dir `. +Run the following command to create the configuration file: +```bash +redis-di scaffold --db-type {{< param rdi_db_types >}} --dir +``` Edit the file `config.yaml` that is located under the directory to point to the correct Redis Target database settings: ```yaml @@ -121,7 +124,7 @@ Run `redis-di status` to check the status of the installation. ## Install the RDI CLI on the Kubernetes Cluster -### Add CLI pod +### Add CLI pod {#install-rdi-cli-on-kubernetes-cluster} ```bash cat << EOF > /tmp/redis-di-cli-pod.yml @@ -164,7 +167,7 @@ kubectl exec -it pod/redis-di-cli -- redis-di - Run the following command to create the configuration file for RDI: ```bash - kubectl exec -it pod/redis-di-cli -- redis-di scaffold --db-type <{{param rdi_db_types}}> --preview config.yaml > config.yaml + kubectl exec -it pod/redis-di-cli -- redis-di scaffold --db-type {{< param rdi_db_types >}} --preview config.yaml > config.yaml ``` - Edit the file `config.yaml` to point to the correct Redis Target database settings. @@ -212,7 +215,7 @@ Run `kubectl exec -it pod/redis-di-cli -- redis-di status` to check the status o - Run the following command to create the configuration file for Debezium Server: ```bash - kubectl exec -it pod/redis-di-cli -- redis-di scaffold --db-type <{{param rdi_db_types}}> --preview debezium/application.properties > application.properties + kubectl exec -it pod/redis-di-cli -- redis-di scaffold --db-type {{< param rdi_db_types >}} --preview debezium/application.properties > application.properties ``` - Edit the file `application.properties` and replace the values for the debezium.sink with the service name and credentials of the RDI BDB that was created using the `create` command.