@@ -56,48 +56,12 @@ secrets are only relevant to TLS/mTLS connections.
5656
5757## Deploy a pipeline
5858
59- If you are hosting RDI on your own VMs, you can use the
60- [ ` deploy ` ] ({{< relref "/integrate/redis-data-integration/reference/cli/redis-di-deploy" >}})
61- command to deploy a configuration, including the jobs, once you have created them:
59+ When you have created your configuration, including the [ jobs ] ({{< relref "/integrate/redis-data-integration/data-pipelines/data-pipelines#job-files" >}}), use the
60+ [ ` redis-di deploy` ] ({{< relref "/integrate/redis-data-integration/reference/cli/redis-di-deploy" >}})
61+ command to deploy them:
6262
6363``` bash
6464redis-di deploy --dir < path to pipeline folder>
6565```
6666
6767You can also deploy a pipeline using [ Redis Insight] ({{< relref "/develop/connect/insight/rdi-connector" >}}).
68-
69- If your RDI CLI is deployed as a pod in a
70- [ Kubernetes cluster] ({{< relref "/integrate/redis-data-integration/installation/install-k8s" >}}),
71- you should perform the following steps to deploy a pipeline:
72-
73- - Create a [ ConfigMap] ( https://kubernetes.io/docs/concepts/configuration/configmap/ ) from the
74- YAML files in your ` jobs ` folder:
75-
76- ``` bash
77- kubectl create configmap redis-di-jobs --from-file=jobs/
78- ```
79-
80- - Deploy your jobs:
81-
82- ``` bash
83- kubectl exec -it pod/redis-di-cli -- redis-di deploy
84- ```
85-
86- {{< note >}}When you create or modify a ConfigMap, it will be available in the ` redis-di-cli ` pod
87- after a short delay. Wait around 30 seconds before running the ` redis-di deploy ` command.{{< /note >}}
88-
89- You have two options to update the ConfigMap:
90-
91- - For smaller changes, you can edit the ConfigMap directly with this command:
92-
93- ``` bash
94- kubectl edit configmap redis-di-jobs
95- ```
96-
97- - For bigger changes, such as adding another job file, edit the files in your local ` jobs ` folder and then run this command:
98-
99- ``` bash
100- kubectl create configmap redis-di-jobs --from-file=jobs/ --dry-run=client -o yaml | kubectl apply -f -
101- ```
102-
103- {{< note >}} You must run ` kubectl exec -it pod/redis-di-cli -- redis-di deploy ` after updating the ConfigMap with either option.{{< /note >}}
0 commit comments