From 522bdec82cbd4a6aa11362b896f9bb4482304ee1 Mon Sep 17 00:00:00 2001 From: Andy Stark Date: Thu, 20 Feb 2025 09:53:11 +0000 Subject: [PATCH 1/4] DOC-4877 added RDI K8s uninstall instructions --- .../installation/install-k8s.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/content/integrate/redis-data-integration/installation/install-k8s.md b/content/integrate/redis-data-integration/installation/install-k8s.md index fda6f91b99..fb1e6a3bb9 100644 --- a/content/integrate/redis-data-integration/installation/install-k8s.md +++ b/content/integrate/redis-data-integration/installation/install-k8s.md @@ -520,3 +520,18 @@ you are ready to start using RDI. See the guides to [deploying]({{< relref "/integrate/redis-data-integration/data-pipelines/deploy" >}}) RDI pipelines for more information. You can also configure and deploy a pipeline using [Redis Insight]({{< relref "/develop/tools/insight/rdi-connector" >}}). + +## Uninstall RDI + +If you want to remove your RDI K8s installation, first run +the following commands. (If you installed with a custom namespace then +replace `rdi` with the name of your namespace.) + +```bash +helm uninstall rdi +kubectl delete namespace rdi +``` + +If you also want to delete the keys from your RDI database, connect to it with +[`redis-cli`]({{< relref "/develop/tools/cli" >}}) and run a +[`flushall`]({{< relref "/commands/flushall" >}}) command. From 8c78c52abd680f5648bbaaf2ce8d2d515439f28a Mon Sep 17 00:00:00 2001 From: Andy Stark Date: Thu, 20 Feb 2025 11:21:06 +0000 Subject: [PATCH 2/4] DOC-4808 added info about custom K8s namespace --- .../redis-data-integration/installation/install-k8s.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/integrate/redis-data-integration/installation/install-k8s.md b/content/integrate/redis-data-integration/installation/install-k8s.md index fb1e6a3bb9..a603130c86 100644 --- a/content/integrate/redis-data-integration/installation/install-k8s.md +++ b/content/integrate/redis-data-integration/installation/install-k8s.md @@ -115,6 +115,11 @@ To pull images from a local registry, you must provide the image pull secret and helm install rdi rdi-.tar.gz -f rdi-values.yaml ``` + {{< note >}}By default, RDI will be installed in a namespace called + `rdi`. If you want to use a custom namespace, pass the option + `--namespace ` to the `helm install` command. + {{< /note >}} + ### The `values.yaml` file The annotated [`values.yaml`](https://helm.sh/docs/topics/charts/#templates-and-values) From 232d875e33f5e8b6a533aef073c4727acb739caf Mon Sep 17 00:00:00 2001 From: Andy Stark Date: Thu, 20 Feb 2025 11:35:10 +0000 Subject: [PATCH 3/4] DOC-4877 implemented feedback --- .../redis-data-integration/installation/install-k8s.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/integrate/redis-data-integration/installation/install-k8s.md b/content/integrate/redis-data-integration/installation/install-k8s.md index a603130c86..4192050383 100644 --- a/content/integrate/redis-data-integration/installation/install-k8s.md +++ b/content/integrate/redis-data-integration/installation/install-k8s.md @@ -533,7 +533,7 @@ the following commands. (If you installed with a custom namespace then replace `rdi` with the name of your namespace.) ```bash -helm uninstall rdi +helm uninstall rdi -n rdi kubectl delete namespace rdi ``` From 40597383f7eb86ead53b4d6ca05619a66157c487 Mon Sep 17 00:00:00 2001 From: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> Date: Thu, 20 Feb 2025 15:18:23 +0000 Subject: [PATCH 4/4] Update content/integrate/redis-data-integration/installation/install-k8s.md Co-authored-by: David Dougherty --- .../redis-data-integration/installation/install-k8s.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/integrate/redis-data-integration/installation/install-k8s.md b/content/integrate/redis-data-integration/installation/install-k8s.md index 4192050383..72a9ff4d8b 100644 --- a/content/integrate/redis-data-integration/installation/install-k8s.md +++ b/content/integrate/redis-data-integration/installation/install-k8s.md @@ -539,4 +539,4 @@ kubectl delete namespace rdi If you also want to delete the keys from your RDI database, connect to it with [`redis-cli`]({{< relref "/develop/tools/cli" >}}) and run a -[`flushall`]({{< relref "/commands/flushall" >}}) command. +[`FLUSHALL`]({{< relref "/commands/flushall" >}}) command.