|
1 | 1 | --- |
2 | | -Title: Deploy a pipeline |
3 | | -aliases: /integrate/redis-data-integration/ingest/data-pipelines/data-type-handling/ |
| 2 | +Title: Set secrets |
| 3 | +aliases: |
| 4 | +- /integrate/redis-data-integration/ingest/data-pipelines/data-type-handling/ |
| 5 | +- /integrate/redis-data-integration/data-pipelines/deploy/ |
4 | 6 | alwaysopen: false |
5 | 7 | categories: |
6 | 8 | - docs |
7 | 9 | - integrate |
8 | 10 | - rs |
9 | 11 | - rdi |
10 | | -description: Learn how to deploy an RDI pipeline |
| 12 | +description: Set authentication secrets for your source and target databases. |
11 | 13 | group: di |
12 | | -linkTitle: Deploy |
| 14 | +linkTitle: Set secrets |
13 | 15 | summary: Redis Data Integration keeps Redis in sync with the primary database in near |
14 | 16 | real time. |
15 | 17 | type: integration |
16 | 18 | weight: 2 |
17 | 19 | --- |
18 | 20 |
|
19 | | -The sections below explain how to deploy a pipeline after you have created the required |
20 | | -[configuration]({{< relref "/integrate/redis-data-integration/data-pipelines/data-pipelines" >}}). |
21 | | - |
22 | | -## Set secrets |
23 | | - |
24 | | -Before you deploy your pipeline, you must set the authentication secrets for the |
| 21 | +Before you |
| 22 | +[deploy]({{< relref "/integrate/redis-data-integration/data-pipelines/data-pipelines#deploy-a-pipeline" >}}) |
| 23 | +your pipeline, you must set the authentication secrets for the |
25 | 24 | source and target databases. Each secret has a name that you can pass to the |
26 | 25 | [`redis-di set-secret`]({{< relref "/integrate/redis-data-integration/reference/cli/redis-di-set-secret" >}}) |
27 | | -command (VM deployment) or the `rdi-secret.sh` script (K8s deployment) to set the secret value. |
28 | | -You can then refer to these secrets in the `config.yaml` file using the syntax "`${SECRET_NAME}`" |
29 | | -(the sample [config.yaml file]({{< relref "/integrate/redis-data-integration/data-pipelines/data-pipelines#the-configyaml-file" >}}) shows these secrets in use). |
| 26 | +command (VM deployment) or the `rdi-secret.sh` script (K8s deployment) to set the secret value. |
| 27 | +For K8s, you can also configure RDI to obtain the secrets from an |
| 28 | +[external provider]({{< relref "/integrate/redis-data-integration/data-pipelines/secret-providers" >}}). |
| 29 | + |
| 30 | +The `config.yaml` file accesses these secrets with the syntax "`${SECRET_NAME}`" |
| 31 | +(the sample [config.yaml file]({{< relref "/integrate/redis-data-integration/data-pipelines/data-pipelines#the-configyaml-file" >}}) shows the secrets in use). |
30 | 32 |
|
31 | 33 | The table below lists all valid secret names. Note that the |
32 | 34 | username and password are required for the source and target, but the other |
@@ -249,17 +251,3 @@ kubectl create secret generic target-db-ssl --namespace=rdi \ |
249 | 251 | ``` |
250 | 252 |
|
251 | 253 | Note that the certificate paths contained in the secrets `SOURCE_DB_CACERT`, `SOURCE_DB_CERT`, and `SOURCE_DB_KEY` (for the source database) and `TARGET_DB_CACERT`, `TARGET_DB_CERT`, and `TARGET_DB_KEY` (for the target database) are internal to RDI, so you *must* use the values shown in the example above. You should only change the certificate paths when you create the `source-db-ssl` and `target-db-ssl` secrets. |
252 | | - |
253 | | -## Deploy a pipeline |
254 | | - |
255 | | -When you have created your configuration, including the [jobs]({{< relref "/integrate/redis-data-integration/data-pipelines/data-pipelines#job-files" >}}), you are |
256 | | -ready to deploy. Use [Redis Insight]({{< relref "/develop/tools/insight/rdi-connector" >}}) |
257 | | -to configure and deploy pipelines for both VM and K8s installations. |
258 | | - |
259 | | -For VM installations, you can also use the |
260 | | -[`redis-di deploy`]({{< relref "/integrate/redis-data-integration/reference/cli/redis-di-deploy" >}}) |
261 | | -command to deploy a pipeline: |
262 | | - |
263 | | -```bash |
264 | | -redis-di deploy --dir <path to pipeline folder> |
265 | | -``` |
0 commit comments